Standardization of booleans for bind role
This commit is contained in:
parent
839db42c81
commit
3ede484242
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
bind_recursive_server: false
|
||||
bind_authoritative_server: true
|
||||
bind_chroot_set: true
|
||||
bind_recursive_server: False
|
||||
bind_authoritative_server: True
|
||||
bind_chroot_set: True
|
||||
bind_chroot_path: /var/chroot-bind
|
||||
bind_systemd_service_path: /etc/systemd/system/bind9.service
|
||||
bind_statistics_file: /var/run/named.stats
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
owner: bind
|
||||
group: bind
|
||||
mode: "0644"
|
||||
force: true
|
||||
force: True
|
||||
notify: restart bind
|
||||
when: bind_recursive_server
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
|||
owner: bind
|
||||
group: bind
|
||||
mode: "0644"
|
||||
force: true
|
||||
force: True
|
||||
notify: restart bind
|
||||
when: bind_authoritative_server
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
force: true
|
||||
force: True
|
||||
notify:
|
||||
- reload systemd
|
||||
- restart bind
|
||||
|
@ -73,14 +73,14 @@
|
|||
dest: /root/chroot-bind.sh
|
||||
mode: "0700"
|
||||
owner: root
|
||||
force: true
|
||||
backup: true
|
||||
force: True
|
||||
backup: True
|
||||
when: bind_chroot_set
|
||||
|
||||
- name: exec chroot-bind.sh
|
||||
command: "/root/chroot-bind.sh"
|
||||
register: chrootbind_run
|
||||
changed_when: false
|
||||
changed_when: False
|
||||
when: bind_chroot_set
|
||||
|
||||
- debug:
|
||||
|
@ -102,7 +102,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
force: true
|
||||
force: True
|
||||
notify: restart bind
|
||||
when: not bind_chroot_set
|
||||
|
||||
|
@ -113,7 +113,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
force: true
|
||||
force: True
|
||||
notify: restart bind
|
||||
when: bind_chroot_set
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
- name: is Munin present ?
|
||||
stat:
|
||||
path: /etc/munin/plugin-conf.d/munin-node
|
||||
check_mode: false
|
||||
check_mode: False
|
||||
register: munin_node_plugins_config
|
||||
tags:
|
||||
- bind
|
||||
|
@ -48,7 +48,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
force: true
|
||||
force: True
|
||||
notify: restart munin-node
|
||||
when: munin_node_plugins_config.stat.exists
|
||||
tags:
|
||||
|
|
Loading…
Reference in a new issue