add templating task for acl file

This commit is contained in:
Robert Kaussow 2018-12-01 15:37:47 +01:00
parent 4e61e1b07b
commit 75f247a75b
1 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,15 @@
mode: 0644
notify: __slapd_restart
- name: Deploy access control file
template:
src: "etc/openldap/slapd.access.j2"
dest: "/etc/openldap/slapd.access"
owner: root
group: root
mode: 0644
notify: __slapd_restart
- name: Open ports in iptables
iptables_raw:
name: "{{ item.name }}"