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