mirror of
				https://git.lapiole.org/dani/ansible-roles.git
				synced 2025-10-30 02:11:30 +01:00 
			
		
		
		
	Update to 2022-03-17 10:00
This commit is contained in:
		| @@ -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}' | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Berteaud
					Daniel Berteaud