summaryrefslogtreecommitdiffstats
path: root/roles/dnsserver/tasks
diff options
context:
space:
mode:
authorMatthieu Saulnier <casper@casperlefantom.net>2019-10-12 22:22:52 +0200
committerMatthieu Saulnier <casper@casperlefantom.net>2019-10-12 22:22:52 +0200
commitb06f93ca0271076f2d4bf7483c0763ea7ee4f85f (patch)
treeb485c8a4fc611172bdd684bf107e2dff34297da5 /roles/dnsserver/tasks
parent88338cd92081007d0913c2d2733e3ca81011f0e0 (diff)
downloadplaybooks-ansible-b06f93ca0271076f2d4bf7483c0763ea7ee4f85f.tar.gz
playbooks-ansible-b06f93ca0271076f2d4bf7483c0763ea7ee4f85f.tar.xz
playbooks-ansible-b06f93ca0271076f2d4bf7483c0763ea7ee4f85f.zip
Replace with_items statement with loop statement
Diffstat (limited to 'roles/dnsserver/tasks')
-rw-r--r--roles/dnsserver/tasks/config.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/dnsserver/tasks/config.yml b/roles/dnsserver/tasks/config.yml
index d24f7b6..6a8fdb0 100644
--- a/roles/dnsserver/tasks/config.yml
+++ b/roles/dnsserver/tasks/config.yml
@@ -25,7 +25,7 @@
mode: 0640
when: dnsslavelist is defined
notify: reload named
- with_items: "{{ reversezonelist }}"
+ loop: "{{ reversezonelist }}"
- name: Installation des fichiers de zone
copy:
@@ -36,7 +36,7 @@
mode: 0640
when: dnsslavelist is defined
notify: reload named
- with_items: "{{ zonelist }}"
+ loop: "{{ zonelist }}"
tags: keys
- name: Installation des fichiers de zone signées
@@ -48,5 +48,5 @@
mode: 0640
when: dnsslavelist is defined
notify: reload named
- with_items: "{{ zonelist }}"
+ loop: "{{ zonelist }}"
tags: keys