diff options
Diffstat (limited to 'ansible/roles')
-rw-r--r-- | ansible/roles/docker/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml index 28c322c3..9851d4dc 100644 --- a/ansible/roles/docker/tasks/main.yml +++ b/ansible/roles/docker/tasks/main.yml @@ -20,7 +20,7 @@ json_add: path: /etc/docker/daemon.json key: dns - value: "{{ hostvars[groups.infrastructure[0]].ansible_host }}" + value: "{{ hostvars[groups.infrastructure[0]].ansible_default_ipv4.address }}" notify: - Restart Docker |