mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -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
|
@ -129,14 +129,14 @@ notes:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Create an A record
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'www1.example.com'
|
||||
zone: 'example.com'
|
||||
type: A
|
||||
value: '1.2.3.4'
|
||||
|
||||
- name: Update an existing record
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'www1.example.com'
|
||||
zone: 'example.com'
|
||||
type: A
|
||||
|
@ -144,7 +144,7 @@ EXAMPLES = '''
|
|||
value: '5.6.7.8'
|
||||
|
||||
- name: Remove an A record
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'www1.example.com'
|
||||
zone_id: 'example-com'
|
||||
state: absent
|
||||
|
@ -152,14 +152,14 @@ EXAMPLES = '''
|
|||
value: '5.6.7.8'
|
||||
|
||||
- name: Create a CNAME record. Note the trailing dot of value
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'www.example.com'
|
||||
zone_id: 'example-com'
|
||||
type: CNAME
|
||||
value: 'www.example.com.'
|
||||
|
||||
- name: Create an MX record with a custom TTL. Note the trailing dot of value
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'example.com'
|
||||
zone: 'example.com'
|
||||
type: MX
|
||||
|
@ -167,7 +167,7 @@ EXAMPLES = '''
|
|||
value: '10 mail.example.com.'
|
||||
|
||||
- name: Create multiple A records with the same name
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'api.example.com'
|
||||
zone_id: 'example-com'
|
||||
type: A
|
||||
|
@ -178,7 +178,7 @@ EXAMPLES = '''
|
|||
- '203.0.113.10'
|
||||
|
||||
- name: Change the value of an existing record with multiple record_data
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'api.example.com'
|
||||
zone: 'example.com'
|
||||
type: A
|
||||
|
@ -190,7 +190,7 @@ EXAMPLES = '''
|
|||
- '203.0.113.10'
|
||||
|
||||
- name: Safely remove a multi-line record
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'api.example.com'
|
||||
zone_id: 'example-com'
|
||||
state: absent
|
||||
|
@ -202,7 +202,7 @@ EXAMPLES = '''
|
|||
- '203.0.113.10'
|
||||
|
||||
- name: Unconditionally remove a record
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'api.example.com'
|
||||
zone_id: 'example-com'
|
||||
state: absent
|
||||
|
@ -210,21 +210,21 @@ EXAMPLES = '''
|
|||
type: A
|
||||
|
||||
- name: Create an AAAA record
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'www1.example.com'
|
||||
zone: 'example.com'
|
||||
type: AAAA
|
||||
value: 'fd00:db8::1'
|
||||
|
||||
- name: Create a PTR record
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: '10.5.168.192.in-addr.arpa'
|
||||
zone: '5.168.192.in-addr.arpa'
|
||||
type: PTR
|
||||
value: 'api.example.com.' # Note the trailing dot.
|
||||
|
||||
- name: Create an NS record
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'subdomain.example.com'
|
||||
zone: 'example.com'
|
||||
type: NS
|
||||
|
@ -236,7 +236,7 @@ EXAMPLES = '''
|
|||
- 'ns-cloud-d4.googledomains.com.'
|
||||
|
||||
- name: Create a TXT record
|
||||
gcdns_record:
|
||||
community.general.gcdns_record:
|
||||
record: 'example.com'
|
||||
zone_id: 'example-com'
|
||||
type: TXT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue