use yes / no instead of True / False for certain flags in bind role
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Patrick Marchand 2019-11-26 11:58:42 -05:00
parent 3ede484242
commit b7a223dbdd
2 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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: