Update to 2022-03-17 10:00

This commit is contained in:
Daniel Berteaud
2022-03-17 10:00:06 +01:00
parent 9022589d6f
commit 935fee126f
5 changed files with 10 additions and 6 deletions

View File

@@ -101,7 +101,7 @@ ldap2pg_base_conf:
#
# - description: "Query LDAP to populate support_rw role"
# ldapsearch:
# base: OU=People,DC=lapiole,DC=org
# base: OU=People,DC=example,DC=org
# filter: "(&(objectClass=user)(!(useraccountcontrol:1.2.840.113556.1.4.803:=2))(memberOf:1.2.840.113556.1.4.1941:=CN=Role_Support_RW,OU=Roles,DC=example,DC=org))"
# role:
# name: '{sAMAccountName}'

View File

@@ -12,4 +12,10 @@
notify:
- restart ldap2pg.service
- restart ldap2pg.timer
register: ldap2pg_units
tags: pg
- name: Reload systemd
systemd: daemon_reload=True
when: ldap2Pg_units.results | selectattr('changed','equalto',True) | list | length > 0
tags: pg

View File

@@ -6,5 +6,5 @@ Type=oneshot
PrivateTmp=yes
User={{ ldap2pg_user }}
Group={{ ldap2pg_user }}
ExecStart=/bin/ldap2pg -c {{ ldap2pg_user_info.home }}/ldap2pg.yml --real
ExecStart=/bin/ldap2pg -c /etc/ldap2pg.yml --real
TimeoutSec=30m