diff --git a/bind/tasks/main.yml b/bind/tasks/main.yml index 061d0459..dd1ad18d 100644 --- a/bind/tasks/main.yml +++ b/bind/tasks/main.yml @@ -13,7 +13,7 @@ owner: bind group: bind mode: "0644" - force: True + force: yes notify: restart bind when: bind_recursive_server @@ -32,7 +32,7 @@ owner: bind group: bind mode: "0644" - force: True + force: yes notify: restart bind when: bind_authoritative_server @@ -43,7 +43,7 @@ owner: root group: root mode: "0644" - force: True + force: yes notify: - reload systemd - restart bind @@ -73,8 +73,8 @@ dest: /root/chroot-bind.sh mode: "0700" owner: root - force: True - backup: True + force: yes + backup: yes when: bind_chroot_set - name: exec chroot-bind.sh @@ -102,7 +102,7 @@ owner: root group: root mode: "0644" - force: True + force: yes notify: restart bind when: not bind_chroot_set @@ -113,7 +113,7 @@ owner: root group: root mode: "0644" - force: True + force: yes notify: restart bind when: bind_chroot_set diff --git a/bind/tasks/munin.yml b/bind/tasks/munin.yml index 5dcaa247..5f9da280 100644 --- a/bind/tasks/munin.yml +++ b/bind/tasks/munin.yml @@ -3,7 +3,7 @@ - name: is Munin present ? stat: path: /etc/munin/plugin-conf.d/munin-node - check_mode: False + check_mode: no register: munin_node_plugins_config tags: - bind @@ -48,7 +48,7 @@ owner: root group: root mode: "0644" - force: True + force: yes notify: restart munin-node when: munin_node_plugins_config.stat.exists tags: