mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
parent
8b92e0454d
commit
41cfdda6a3
533 changed files with 2130 additions and 2130 deletions
|
@ -55,7 +55,7 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Create a DNS record on a UCS
|
||||
udm_dns_record:
|
||||
community.general.udm_dns_record:
|
||||
name: www
|
||||
zone: example.com
|
||||
type: host_record
|
||||
|
|
|
@ -82,7 +82,7 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Create a DNS zone on a UCS
|
||||
udm_dns_zone:
|
||||
community.general.udm_dns_zone:
|
||||
zone: example.com
|
||||
type: forward_zone
|
||||
nameserver:
|
||||
|
|
|
@ -53,20 +53,20 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Create a POSIX group
|
||||
udm_group:
|
||||
community.general.udm_group:
|
||||
name: g123m-1A
|
||||
|
||||
# Create a POSIX group with the exact DN
|
||||
# C(cn=g123m-1A,cn=classes,cn=students,cn=groups,ou=school,dc=school,dc=example,dc=com)
|
||||
- name: Create a POSIX group with a DN
|
||||
udm_group:
|
||||
community.general.udm_group:
|
||||
name: g123m-1A
|
||||
subpath: 'cn=classes,cn=students,cn=groups'
|
||||
ou: school
|
||||
|
||||
# or
|
||||
- name: Create a POSIX group with a DN
|
||||
udm_group:
|
||||
community.general.udm_group:
|
||||
name: g123m-1A
|
||||
position: 'cn=classes,cn=students,cn=groups,ou=school,dc=school,dc=example,dc=com'
|
||||
'''
|
||||
|
|
|
@ -293,7 +293,7 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Create a share named home on the server ucs.example.com with the path /home
|
||||
udm_share:
|
||||
community.general.udm_share:
|
||||
name: home
|
||||
path: /home
|
||||
host: ucs.example.com
|
||||
|
|
|
@ -228,14 +228,14 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Create a user on a UCS
|
||||
udm_user:
|
||||
community.general.udm_user:
|
||||
name: FooBar
|
||||
password: secure_password
|
||||
firstname: Foo
|
||||
lastname: Bar
|
||||
|
||||
- name: Create a user with the DN C(uid=foo,cn=teachers,cn=users,ou=school,dc=school,dc=example,dc=com)
|
||||
udm_user:
|
||||
community.general.udm_user:
|
||||
name: foo
|
||||
password: secure_password
|
||||
firstname: Foo
|
||||
|
@ -245,7 +245,7 @@ EXAMPLES = '''
|
|||
|
||||
# or define the position
|
||||
- name: Create a user with the DN C(uid=foo,cn=teachers,cn=users,ou=school,dc=school,dc=example,dc=com)
|
||||
udm_user:
|
||||
community.general.udm_user:
|
||||
name: foo
|
||||
password: secure_password
|
||||
firstname: Foo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue