summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/library/docker_list_containers.py2
-rw-r--r--ansible/roles/dns/handlers/main.yml1
-rw-r--r--ansible/roles/dns/tasks/main.yml1
-rw-r--r--ansible/test/roles/prepare-dns/tasks/main.yml1
4 files changed, 4 insertions, 1 deletions
diff --git a/ansible/library/docker_list_containers.py b/ansible/library/docker_list_containers.py
index d8a789c6..2811d6b5 100644
--- a/ansible/library/docker_list_containers.py
+++ b/ansible/library/docker_list_containers.py
@@ -54,7 +54,7 @@ containers:
]
'''
-from ansible.module_utils.docker_common import AnsibleDockerClient
+from ansible_collections.community.docker.plugins.module_utils.common import AnsibleDockerClient
class DockerListContainers:
diff --git a/ansible/roles/dns/handlers/main.yml b/ansible/roles/dns/handlers/main.yml
index 201fff70..844a2401 100644
--- a/ansible/roles/dns/handlers/main.yml
+++ b/ansible/roles/dns/handlers/main.yml
@@ -11,3 +11,4 @@
state: started
restart_policy: unless-stopped
recreate: true
+ container_default_behavior: compatibility
diff --git a/ansible/roles/dns/tasks/main.yml b/ansible/roles/dns/tasks/main.yml
index bfdd83b4..a0e40336 100644
--- a/ansible/roles/dns/tasks/main.yml
+++ b/ansible/roles/dns/tasks/main.yml
@@ -21,6 +21,7 @@
name: "{{ dns_server_image }}"
load_path: "{{ infra_images_path }}/{{ dns_server_image_tar }}"
state: present
+ source: load
timeout: 120
notify: Run dns server container
diff --git a/ansible/test/roles/prepare-dns/tasks/main.yml b/ansible/test/roles/prepare-dns/tasks/main.yml
index 7907f868..d009beb9 100644
--- a/ansible/test/roles/prepare-dns/tasks/main.yml
+++ b/ansible/test/roles/prepare-dns/tasks/main.yml
@@ -15,6 +15,7 @@
name: andyshinn/dnsmasq
tag: 2.76
archive_path: /tmp/dnsmasq.tar
+ source: pull
- name: Copy dnsmasq image to node
copy: