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
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

@ -68,7 +68,7 @@ options:
EXAMPLES = '''
- name: Configure an A record
nios_a_record:
community.general.nios_a_record:
name: a.ansible.com
ipv4: 192.168.10.1
state: present
@ -79,7 +79,7 @@ EXAMPLES = '''
connection: local
- name: Add a comment to an existing A record
nios_a_record:
community.general.nios_a_record:
name: a.ansible.com
ipv4: 192.168.10.1
comment: this is a test comment
@ -91,7 +91,7 @@ EXAMPLES = '''
connection: local
- name: Remove an A record from the system
nios_a_record:
community.general.nios_a_record:
name: a.ansible.com
ipv4: 192.168.10.1
state: absent
@ -102,7 +102,7 @@ EXAMPLES = '''
connection: local
- name: Update an A record name
nios_a_record:
community.general.nios_a_record:
name: {new_name: a_new.ansible.com, old_name: a.ansible.com}
ipv4: 192.168.10.1
state: present
@ -113,7 +113,7 @@ EXAMPLES = '''
connection: local
- name: Dynamically add a record to next available ip
nios_a_record:
community.general.nios_a_record:
name: a.ansible.com
ipv4: {nios_next_ip: 192.168.10.0/24}
state: present

View file

@ -66,7 +66,7 @@ options:
EXAMPLES = '''
- name: Configure an AAAA record
nios_aaaa_record:
community.general.nios_aaaa_record:
name: aaaa.ansible.com
ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
state: present
@ -77,7 +77,7 @@ EXAMPLES = '''
connection: local
- name: Add a comment to an existing AAAA record
nios_aaaa_record:
community.general.nios_aaaa_record:
name: aaaa.ansible.com
ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
comment: this is a test comment
@ -89,7 +89,7 @@ EXAMPLES = '''
connection: local
- name: Remove an AAAA record from the system
nios_aaaa_record:
community.general.nios_aaaa_record:
name: aaaa.ansible.com
ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
state: absent
@ -100,7 +100,7 @@ EXAMPLES = '''
connection: local
- name: Update an AAAA record name
nios_aaaa_record:
community.general.nios_aaaa_record:
name: {new_name: aaaa_new.ansible.com, old_name: aaaa.ansible.com}
ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
state: present

View file

@ -66,7 +66,7 @@ options:
EXAMPLES = '''
- name: Configure a CNAME record
nios_cname_record:
community.general.nios_cname_record:
name: cname.ansible.com
canonical: realhost.ansible.com
state: present
@ -77,7 +77,7 @@ EXAMPLES = '''
connection: local
- name: Add a comment to an existing CNAME record
nios_cname_record:
community.general.nios_cname_record:
name: cname.ansible.com
canonical: realhost.ansible.com
comment: this is a test comment
@ -89,7 +89,7 @@ EXAMPLES = '''
connection: local
- name: Remove a CNAME record from the system
nios_cname_record:
community.general.nios_cname_record:
name: cname.ansible.com
canonical: realhost.ansible.com
state: absent

View file

@ -63,7 +63,7 @@ options:
EXAMPLES = '''
- name: Configure a new dns view instance
nios_dns_view:
community.general.nios_dns_view:
name: ansible-dns
state: present
provider:
@ -72,7 +72,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Update the comment for dns view
nios_dns_view:
community.general.nios_dns_view:
name: ansible-dns
comment: this is an example comment
state: present
@ -82,7 +82,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove the dns view instance
nios_dns_view:
community.general.nios_dns_view:
name: ansible-dns
state: absent
provider:
@ -91,7 +91,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Update the dns view instance
nios_dns_view:
community.general.nios_dns_view:
name: {new_name: ansible-dns-new, old_name: ansible-dns}
state: present
provider:

View file

@ -95,7 +95,7 @@ options:
EXAMPLES = '''
- name: Configure ipv4 dhcp fixed address
nios_fixed_address:
community.general.nios_fixed_address:
name: ipv4_fixed
ipaddr: 192.168.10.1
mac: 08:6d:41:e8:fd:e8
@ -109,7 +109,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Configure a ipv6 dhcp fixed address
nios_fixed_address:
community.general.nios_fixed_address:
name: ipv6_fixed
ipaddr: fe80::1/10
mac: 08:6d:41:e8:fd:e8
@ -123,7 +123,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Set dhcp options for a ipv4 fixed address
nios_fixed_address:
community.general.nios_fixed_address:
name: ipv4_fixed
ipaddr: 192.168.10.1
mac: 08:6d:41:e8:fd:e8
@ -140,7 +140,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove a ipv4 dhcp fixed address
nios_fixed_address:
community.general.nios_fixed_address:
name: ipv4_fixed
ipaddr: 192.168.10.1
mac: 08:6d:41:e8:fd:e8

View file

@ -147,7 +147,7 @@ options:
EXAMPLES = '''
- name: Configure an ipv4 host record
nios_host_record:
community.general.nios_host_record:
name: host.ansible.com
ipv4:
- address: 192.168.10.1
@ -160,7 +160,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Add a comment to an existing host record
nios_host_record:
community.general.nios_host_record:
name: host.ansible.com
ipv4:
- address: 192.168.10.1
@ -172,7 +172,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove a host record from the system
nios_host_record:
community.general.nios_host_record:
name: host.ansible.com
state: absent
provider:
@ -181,7 +181,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Update an ipv4 host record
nios_host_record:
community.general.nios_host_record:
name: {new_name: host-new.ansible.com, old_name: host.ansible.com}
ipv4:
- address: 192.168.10.1
@ -192,7 +192,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Create an ipv4 host record bypassing DNS
nios_host_record:
community.general.nios_host_record:
name: new_host
ipv4:
- address: 192.168.10.1
@ -204,7 +204,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Create an ipv4 host record over DHCP
nios_host_record:
community.general.nios_host_record:
name: host.ansible.com
ipv4:
- address: 192.168.10.1
@ -217,7 +217,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Dynamically add host record to next available ip
nios_host_record:
community.general.nios_host_record:
name: host.ansible.com
ipv4:
- address: {nios_next_ip: 192.168.10.0/24}
@ -229,7 +229,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Add ip to host record
nios_host_record:
community.general.nios_host_record:
name: host.ansible.com
ipv4:
- address: 192.168.10.2
@ -241,7 +241,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove ip to host record
nios_host_record:
community.general.nios_host_record:
name: host.ansible.com
ipv4:
- address: 192.168.10.1

View file

@ -299,7 +299,7 @@ options:
EXAMPLES = '''
- name: Add a member to the grid with IPv4 address
nios_member:
community.general.nios_member:
host_name: member01.localdomain
vip_setting:
- address: 192.168.1.100
@ -315,7 +315,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Add a HA member to the grid
nios_member:
community.general.nios_member:
host_name: memberha.localdomain
vip_setting:
- address: 192.168.1.100
@ -340,7 +340,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Update the member with pre-provisioning details specified
nios_member:
community.general.nios_member:
name: member01.localdomain
pre_provisioning:
- hardware_info:
@ -359,7 +359,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove the member
nios_member:
community.general.nios_member:
name: member01.localdomain
state: absent
provider:

View file

@ -70,7 +70,7 @@ options:
EXAMPLES = '''
- name: Configure an MX record
nios_mx_record:
community.general.nios_mx_record:
name: ansible.com
mx: mailhost.ansible.com
preference: 0
@ -82,7 +82,7 @@ EXAMPLES = '''
connection: local
- name: Add a comment to an existing MX record
nios_mx_record:
community.general.nios_mx_record:
name: ansible.com
mx: mailhost.ansible.com
preference: 0
@ -95,7 +95,7 @@ EXAMPLES = '''
connection: local
- name: Remove an MX record from the system
nios_mx_record:
community.general.nios_mx_record:
name: ansible.com
mx: mailhost.ansible.com
preference: 0

View file

@ -98,7 +98,7 @@ options:
EXAMPLES = '''
- name: Configure a NAPTR record
nios_naptr_record:
community.general.nios_naptr_record:
name: '*.subscriber-100.ansiblezone.com'
order: 1000
preference: 10
@ -111,7 +111,7 @@ EXAMPLES = '''
connection: local
- name: Add a comment to an existing NAPTR record
nios_naptr_record:
community.general.nios_naptr_record:
name: '*.subscriber-100.ansiblezone.com'
order: 1000
preference: 10
@ -125,7 +125,7 @@ EXAMPLES = '''
connection: local
- name: Remove a NAPTR record from the system
nios_naptr_record:
community.general.nios_naptr_record:
name: '*.subscriber-100.ansiblezone.com'
order: 1000
preference: 10

View file

@ -93,7 +93,7 @@ options:
EXAMPLES = '''
- name: Configure a network ipv4
nios_network:
community.general.nios_network:
network: 192.168.10.0/24
comment: this is a test comment
state: present
@ -103,7 +103,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Configure a network ipv6
nios_network:
community.general.nios_network:
network: fe80::/64
comment: this is a test comment
state: present
@ -113,7 +113,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Set dhcp options for a network ipv4
nios_network:
community.general.nios_network:
network: 192.168.10.0/24
comment: this is a test comment
options:
@ -126,7 +126,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove a network ipv4
nios_network:
community.general.nios_network:
network: 192.168.10.0/24
state: absent
provider:
@ -135,7 +135,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Configure a ipv4 network container
nios_network:
community.general.nios_network:
network: 192.168.10.0/24
container: true
comment: test network container
@ -146,7 +146,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Configure a ipv6 network container
nios_network:
community.general.nios_network:
network: fe80::/64
container: true
comment: test network container
@ -157,7 +157,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove a ipv4 network container
nios_network:
community.general.nios_network:
networkr: 192.168.10.0/24
container: true
comment: test network container

View file

@ -53,7 +53,7 @@ options:
EXAMPLES = '''
- name: Configure a new network view
nios_network_view:
community.general.nios_network_view:
name: ansible
state: present
provider:
@ -62,7 +62,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Update the comment for network view
nios_network_view:
community.general.nios_network_view:
name: ansible
comment: this is an example comment
state: present
@ -72,7 +72,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove the network view
nios_network_view:
community.general.nios_network_view:
name: ansible
state: absent
provider:
@ -81,7 +81,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Update a existing network view
nios_network_view:
community.general.nios_network_view:
name: {new_name: ansible-new, old_name: ansible}
state: present
provider:

View file

@ -183,7 +183,7 @@ options:
EXAMPLES = '''
- name: Create simple infoblox nameserver group
nios_nsgroup:
community.general.nios_nsgroup:
name: my-simple-group
comment: "this is a simple nameserver group"
grid_primary:
@ -196,7 +196,7 @@ EXAMPLES = '''
connection: local
- name: Create infoblox nameserver group with external primaries
nios_nsgroup:
community.general.nios_nsgroup:
name: my-example-group
use_external_primary: true
comment: "this is my example nameserver group"
@ -213,7 +213,7 @@ EXAMPLES = '''
connection: local
- name: Delete infoblox nameserver group
nios_nsgroup:
community.general.nios_nsgroup:
name: my-simple-group
comment: "this is a simple nameserver group"
grid_primary:

View file

@ -79,7 +79,7 @@ options:
EXAMPLES = '''
- name: Create a PTR Record
nios_ptr_record:
community.general.nios_ptr_record:
ipv4: 192.168.10.1
ptrdname: host.ansible.com
state: present
@ -90,7 +90,7 @@ EXAMPLES = '''
connection: local
- name: Delete a PTR Record
nios_ptr_record:
community.general.nios_ptr_record:
ipv4: 192.168.10.1
ptrdname: host.ansible.com
state: absent

View file

@ -76,7 +76,7 @@ options:
EXAMPLES = '''
- name: Configure an SRV record
nios_srv_record:
community.general.nios_srv_record:
name: _sip._tcp.service.ansible.com
port: 5080
priority: 10
@ -90,7 +90,7 @@ EXAMPLES = '''
connection: local
- name: Add a comment to an existing SRV record
nios_srv_record:
community.general.nios_srv_record:
name: _sip._tcp.service.ansible.com
port: 5080
priority: 10
@ -105,7 +105,7 @@ EXAMPLES = '''
connection: local
- name: Remove an SRV record from the system
nios_srv_record:
community.general.nios_srv_record:
name: _sip._tcp.service.ansible.com
port: 5080
priority: 10

View file

@ -67,7 +67,7 @@ options:
EXAMPLES = '''
- name: Ensure a text Record Exists
nios_txt_record:
community.general.nios_txt_record:
name: fqdn.txt.record.com
text: mytext
state: present
@ -78,7 +78,7 @@ EXAMPLES = '''
password: admin
- name: Ensure a text Record does not exist
nios_txt_record:
community.general.nios_txt_record:
name: fqdn.txt.record.com
text: mytext
state: absent

View file

@ -90,7 +90,7 @@ options:
EXAMPLES = '''
- name: Configure a zone on the system using grid primary and secondaries
nios_zone:
community.general.nios_zone:
name: ansible.com
grid_primary:
- name: gridprimary.grid.com
@ -105,7 +105,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Configure a zone on the system using a name server group
nios_zone:
community.general.nios_zone:
name: ansible.com
ns_group: examplensg
restart_if_needed: true
@ -116,7 +116,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Configure a reverse mapping zone on the system using IPV4 zone format
nios_zone:
community.general.nios_zone:
name: 10.10.10.0/24
zone_format: IPV4
state: present
@ -126,7 +126,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Configure a reverse mapping zone on the system using IPV6 zone format
nios_zone:
community.general.nios_zone:
name: 100::1/128
zone_format: IPV6
state: present
@ -136,7 +136,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Update the comment and ext attributes for an existing zone
nios_zone:
community.general.nios_zone:
name: ansible.com
comment: this is an example comment
extattrs:
@ -148,7 +148,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove the dns zone
nios_zone:
community.general.nios_zone:
name: ansible.com
state: absent
provider:
@ -157,7 +157,7 @@ EXAMPLES = '''
password: admin
connection: local
- name: Remove the reverse mapping dns zone from the system with IPV4 zone format
nios_zone:
community.general.nios_zone:
name: 10.10.10.0/24
zone_format: IPV4
state: absent