hack
This commit is contained in:
@@ -4,20 +4,20 @@
|
||||
register: ldap_schemas
|
||||
changed_when: false
|
||||
|
||||
- name: Load cosine schema
|
||||
command: >
|
||||
ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/cosine.ldif
|
||||
when: "'cn=cosine,cn=schema,cn=config' not in ldap_schemas.stdout"
|
||||
|
||||
- name: Load inetorgperson schema
|
||||
command: >
|
||||
ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/inetorgperson.ldif
|
||||
when: "'cn=inetorgperson,cn=schema,cn=config' not in ldap_schemas.stdout"
|
||||
|
||||
- name: Load nis schema
|
||||
command: >
|
||||
ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/nis.ldif
|
||||
when: "'cn=nis,cn=schema,cn=config' not in ldap_schemas.stdout"
|
||||
#- name: Load cosine schema
|
||||
# command: >
|
||||
# ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/cosine.ldif
|
||||
# when: "'cn=cosine,cn=schema,cn=config' not in ldap_schemas.stdout"
|
||||
#
|
||||
#- name: Load inetorgperson schema
|
||||
# command: >
|
||||
# ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/inetorgperson.ldif
|
||||
# when: "'cn=inetorgperson,cn=schema,cn=config' not in ldap_schemas.stdout"
|
||||
#
|
||||
#- name: Load nis schema
|
||||
# command: >
|
||||
# ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/nis.ldif
|
||||
# when: "'cn=nis,cn=schema,cn=config' not in ldap_schemas.stdout"
|
||||
|
||||
#- name: Load sudo schema
|
||||
# command: >
|
||||
|
||||
Reference in New Issue
Block a user