From 75f247a75b56233813f50a362739e59556339821 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 1 Dec 2018 15:37:47 +0100 Subject: [PATCH] add templating task for acl file --- tasks/setup.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tasks/setup.yml b/tasks/setup.yml index 6142e30..8ccbae5 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml @@ -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 }}"