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

@ -70,7 +70,7 @@ extends_documentation_fragment:
EXAMPLES = r'''
- name: Configure directory number 1 for example.com
ldap_attr:
community.general.ldap_attr:
dn: olcDatabase={1}hdb,cn=config
name: olcSuffix
values: dc=example,dc=com
@ -78,7 +78,7 @@ EXAMPLES = r'''
# The complex argument format is required here to pass a list of ACL strings.
- name: Set up the ACL
ldap_attr:
community.general.ldap_attr:
dn: olcDatabase={1}hdb,cn=config
name: olcAccess
values:
@ -95,7 +95,7 @@ EXAMPLES = r'''
state: exact
- name: Declare some indexes
ldap_attr:
community.general.ldap_attr:
dn: olcDatabase={1}hdb,cn=config
name: olcDbIndex
values: "{{ item }}"
@ -104,7 +104,7 @@ EXAMPLES = r'''
- uid eq
- name: Set up a root user, which we can use later to bootstrap the directory
ldap_attr:
community.general.ldap_attr:
dn: olcDatabase={1}hdb,cn=config
name: "{{ item.key }}"
values: "{{ item.value }}"
@ -114,7 +114,7 @@ EXAMPLES = r'''
olcRootPW: "{SSHA}tabyipcHzhwESzRaGA7oQ/SDoBZQOGND"
- name: Get rid of an unneeded attribute
ldap_attr:
community.general.ldap_attr:
dn: uid=jdoe,ou=people,dc=example,dc=com
name: shadowExpire
values: []
@ -134,7 +134,7 @@ EXAMPLES = r'''
#
# In the example below, 'args' is a task keyword, passed at the same level as the module
- name: Get rid of an unneeded attribute
ldap_attr:
community.general.ldap_attr:
dn: uid=jdoe,ou=people,dc=example,dc=com
name: shadowExpire
values: []