ldap: rajout exemple

This commit is contained in:
2019-09-10 22:50:23 +02:00
parent baf98d3a96
commit 5b93e76d30

View File

@@ -47,17 +47,26 @@ Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers - role: slapd
roles: vars:
- role: slapd - ldap_schemas:
vars: - cosine
ldap_domain: example - nis
ldap_domain_ex: net - inetorgperson
import_data: true - ldap_replication_consumer: false
ldap_schemas: - ldap_domain: opendoor
- cosine - ldap_domain_ex: fr
- nis - ldap_suffix: o=od
- inetorgperson - ldap_admin_password: 123Soleil
- ldap_replication_provider: false
- ldap_have_ssl: yes
- ldap_ssl_dir: /etc/openldap/certs/
- ldap_ssl_cert_path: "{{ ssl_certificate_file }}"
- ldap_ssl_key_path: "{{ ssl_key_file }}"
- ldap_ssl_cacert_path: "{{ ssl_ca_file }}"
- ldap_ldif_files:
- /home/tom/tmp/cyrus_postfix_ldap/Vagrant/0_branches.ldif
- /home/tom/tmp/cyrus_postfix_ldap/Vagrant/1_users.ldif
License License
------- -------