mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	- Add handlers/main.yml to load memberof/refint modules and import groups via docker exec - Use OPENLDAP_CONTAINER consistently (replace OPENLDAP_NAME) - Rename tasks/ldifs_creation.yml -> tasks/_ldifs_creation.yml and update includes - Drop default param from get_app_conf calls; add explicit meta: flush_handlers - docker-compose: honor OPENLDAP_NETWORK_EXPOSE_LOCAL | bool; minor formatting - env template: formatting/comments consistency - Remove unused 01_rbac_group.ldif.j2; rename 02_rbac_roles -> 01_rbac_roles and fix filter to LDAP - vars: rename OPENLDAP_NAME -> OPENLDAP_CONTAINER; prune LDIF schema type Conversation: https://chatgpt.com/share/68d1d25d-e788-800f-bfb6-13b1f5bc6121
		
			
				
	
	
		
			24 lines
		
	
	
		
			536 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			536 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
| {% for dn, entry in (applications | build_ldap_role_entries(users, LDAP)).items() %}
 | |
| 
 | |
| dn: {{ dn }}
 | |
| {% for oc in entry.objectClass %}
 | |
| objectClass: {{ oc }}
 | |
| {% endfor %}
 | |
| {% if entry.gidNumber is defined %}
 | |
| gidNumber: {{ entry.gidNumber }}
 | |
| {% endif %}
 | |
| cn: {{ entry.cn }}
 | |
| description: {{ entry.description }}
 | |
| {% if entry.memberUid is defined %}
 | |
| {% for uid in entry.memberUid %}
 | |
| memberUid: {{ uid }}
 | |
| {% endfor %}
 | |
| {% endif %}
 | |
| {% if entry.member is defined %}
 | |
| {% for m in entry.member %}
 | |
| member: {{ m }}
 | |
| {% endfor %}
 | |
| {% endif %}
 | |
| 
 | |
| {% endfor %}
 |