modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
parent 8b92e0454d
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -74,7 +74,7 @@ extends_documentation_fragment:
EXAMPLES = r'''
- name: Configure directory number 1 for example.com
ldap_attrs:
community.general.ldap_attrs:
dn: olcDatabase={1}hdb,cn=config
attributes:
olcSuffix: dc=example,dc=com
@ -82,7 +82,7 @@ EXAMPLES = r'''
# The complex argument format is required here to pass a list of ACL strings.
- name: Set up the ACL
ldap_attrs:
community.general.ldap_attrs:
dn: olcDatabase={1}hdb,cn=config
attributes:
olcAccess:
@ -100,7 +100,7 @@ EXAMPLES = r'''
# An alternative approach with automatic X-ORDERED numbering
- name: Set up the ACL
ldap_attrs:
community.general.ldap_attrs:
dn: olcDatabase={1}hdb,cn=config
attributes:
olcAccess:
@ -118,7 +118,7 @@ EXAMPLES = r'''
state: exact
- name: Declare some indexes
ldap_attrs:
community.general.ldap_attrs:
dn: olcDatabase={1}hdb,cn=config
attributes:
olcDbIndex:
@ -126,7 +126,7 @@ EXAMPLES = r'''
- uid eq
- name: Set up a root user, which we can use later to bootstrap the directory
ldap_attrs:
community.general.ldap_attrs:
dn: olcDatabase={1}hdb,cn=config
attributes:
olcRootDN: cn=root,dc=example,dc=com
@ -134,7 +134,7 @@ EXAMPLES = r'''
state: exact
- name: Remove an attribute with a specific value
ldap_attrs:
community.general.ldap_attrs:
dn: uid=jdoe,ou=people,dc=example,dc=com
attributes:
description: "An example user account"
@ -144,7 +144,7 @@ EXAMPLES = r'''
bind_pw: password
- name: Remove specified attribute(s) from an entry
ldap_attrs:
community.general.ldap_attrs:
dn: uid=jdoe,ou=people,dc=example,dc=com
attributes:
description: []