Files
configpolicy/roles/samba-dc/tasks/bind9-dlz.yml
Dustin C. Hatch efbb563670 roles/samba-dc: Conditionally configure BIND9_DLZ
This commit adjusts the tasks in the *samba-dc* role to use a
conditional include to restrict tasks relating to the BIND9_DLZ plugin
only to hosts that are configured to use it.
2018-02-19 22:46:27 -06:00

13 lines
329 B
YAML

- name: ensure bind9 dlz plugin is installed
package:
name={{ samba_bind_dlz_pkg }}
state=present
- name: ensure selinux file contexts are correct
sefcontext:
target={{ item.path }}
setype={{ item.setype }}
state=present
with_items: '{{ samba_selinux_contexts }}'
notify: restore samba file contexts