diff options
author | 2021-03-06 19:34:41 +0000 | |
---|---|---|
committer | 2021-03-07 18:49:29 +0000 | |
commit | 86cf937bde2df8c6879e7dfb695ecb8bb2bec0c0 (patch) | |
tree | 046c37957ac2e5a8cf8ab0ac74e82f50817f3387 /resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml | |
parent | f7825e80ea0688fa337b8a36086df2e577ca6101 (diff) |
Infra: Docker DNS on Nomad hosts
+ Make the host default resolver
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: Ifadb8901c66b65b2213878180c87370262ab22f0
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml index 8158af51b4..5a96b7a7c5 100644 --- a/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml @@ -29,6 +29,18 @@ tags: - docker-conf-service +- name: Conf - Docker Daemon + template: + src: "templates/daemon.json.j2" + dest: "/etc/docker/daemon.json" + owner: "root" + group: "root" + mode: "0644" + when: > + docker_daemon is defined + tags: + - docker-conf-daemon + - name: Conf - Docker HTTP Proxy template: src: "templates/docker.service.proxy.http" |