16 lines
754 B
YAML
16 lines
754 B
YAML
---
|
|
|
|
openldap_uid: "{{systemuserlist.openldap.uid}}"
|
|
openldap_gid: "{{systemuserlist.openldap.gid}}"
|
|
openldap_root: "{{ systemuserlist.openldap.home }}"
|
|
|
|
|
|
ldap_human_users: "{{ userlist.values()|selectattr('ldap_enabled', 'true') }}"
|
|
ldap_human_users_in_groups: "{{ ldap_human_users | selectattr('ldap_groups') }}"
|
|
|
|
ldap_only_users_enabled: "{{ ldap_only_users.values() | selectattr('ldap_enabled', 'true') }}"
|
|
|
|
ldap_linux_usernames_disabled: "{{ userlist.values()|selectattr('ldap_enabled', 'false') | map(attribute='username') }}"
|
|
ldap_only_usernames_disabled: "{{ ldap_only_users.values()|selectattr('ldap_enabled', 'false') | map(attribute='username') }}"
|
|
ldap_usernames_disabled: "{{ ldap_only_usernames_disabled + ldap_linux_usernames_disabled }}"
|