diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-10-16 16:25:41 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-10-17 08:14:25 +0000 |
commit | d3e0654a57aa958aaef1906e4a759e521655a86b (patch) | |
tree | cc0548cf87706dee62451a07add29bbb398e30eb /resources/tools/testbed-setup/ansible/roles/docker/templates | |
parent | bf0ea7aee82f32752c4b1a3abc1f60294fbc1f40 (diff) |
Ansible: Role cleanup
+ Separate and reuse role (better naming)
+ Cleanup in naming
+ Introduce defaults that can be overriden
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Iedaf7caba1d05a35a6f61cd21a483cdbc0073d32
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/docker/templates')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.http | 4 | ||||
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.https | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.http b/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.http new file mode 100644 index 0000000000..73ceba3870 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.http @@ -0,0 +1,4 @@ +# {{ ansible_managed }} + +[Service] +Environment="{{ docker_daemon_environment_http | join('" "') }}" diff --git a/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.https b/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.https new file mode 100644 index 0000000000..1c2097eb9d --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.https @@ -0,0 +1,4 @@ +# {{ ansible_managed }} + +[Service] +Environment="{{ docker_daemon_environment_https | join('" "') }}" |