summaryrefslogtreecommitdiffstats
path: root/ansible/roles/dns
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-12 14:43:06 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-04-13 09:47:55 +0000
commitb9594d6baad6c570585d0f9b7ea25d82edccfca9 (patch)
tree62703ae69f31fad4d955c2763fbb997388305105 /ansible/roles/dns
parenteadc38f99d6913c9ecf3d0bc2fa57ac1c4ae8008 (diff)
[ANSIBLE 3.2.0] Upgrade 'dns' role's tasks to ansible 3.2.0
Change-Id: I6984396d15d0592313978c751fd109ee06d8febf Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/roles/dns')
-rw-r--r--ansible/roles/dns/handlers/main.yml1
-rw-r--r--ansible/roles/dns/tasks/main.yml1
2 files changed, 2 insertions, 0 deletions
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