mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
Fix examples formatting (#345)
This commit is contained in:
parent
31ba39cac4
commit
a7c830f49d
148 changed files with 330 additions and 334 deletions
|
@ -67,7 +67,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure an A record
|
||||
- name: Configure an A record
|
||||
nios_a_record:
|
||||
name: a.ansible.com
|
||||
ipv4: 192.168.10.1
|
||||
|
@ -78,7 +78,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: add a comment to an existing A record
|
||||
- name: Add a comment to an existing A record
|
||||
nios_a_record:
|
||||
name: a.ansible.com
|
||||
ipv4: 192.168.10.1
|
||||
|
@ -90,7 +90,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: remove an A record from the system
|
||||
- name: Remove an A record from the system
|
||||
nios_a_record:
|
||||
name: a.ansible.com
|
||||
ipv4: 192.168.10.1
|
||||
|
@ -101,7 +101,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: update an A record name
|
||||
- name: Update an A record name
|
||||
nios_a_record:
|
||||
name: {new_name: a_new.ansible.com, old_name: a.ansible.com}
|
||||
ipv4: 192.168.10.1
|
||||
|
@ -112,7 +112,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: dynamically add a record to next available ip
|
||||
- name: Dynamically add a record to next available ip
|
||||
nios_a_record:
|
||||
name: a.ansible.com
|
||||
ipv4: {nios_next_ip: 192.168.10.0/24}
|
||||
|
|
|
@ -65,7 +65,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure an AAAA record
|
||||
- name: Configure an AAAA record
|
||||
nios_aaaa_record:
|
||||
name: aaaa.ansible.com
|
||||
ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
|
||||
|
@ -76,7 +76,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: add a comment to an existing AAAA record
|
||||
- name: Add a comment to an existing AAAA record
|
||||
nios_aaaa_record:
|
||||
name: aaaa.ansible.com
|
||||
ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
|
||||
|
@ -88,7 +88,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: remove an AAAA record from the system
|
||||
- name: Remove an AAAA record from the system
|
||||
nios_aaaa_record:
|
||||
name: aaaa.ansible.com
|
||||
ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
|
||||
|
@ -99,7 +99,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: update an AAAA record name
|
||||
- name: Update an AAAA record name
|
||||
nios_aaaa_record:
|
||||
name: {new_name: aaaa_new.ansible.com, old_name: aaaa.ansible.com}
|
||||
ipv6: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
|
||||
|
|
|
@ -65,7 +65,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure a CNAME record
|
||||
- name: Configure a CNAME record
|
||||
nios_cname_record:
|
||||
name: cname.ansible.com
|
||||
canonical: realhost.ansible.com
|
||||
|
@ -76,7 +76,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: add a comment to an existing CNAME record
|
||||
- name: Add a comment to an existing CNAME record
|
||||
nios_cname_record:
|
||||
name: cname.ansible.com
|
||||
canonical: realhost.ansible.com
|
||||
|
@ -88,7 +88,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: remove a CNAME record from the system
|
||||
- name: Remove a CNAME record from the system
|
||||
nios_cname_record:
|
||||
name: cname.ansible.com
|
||||
canonical: realhost.ansible.com
|
||||
|
|
|
@ -62,7 +62,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure a new dns view instance
|
||||
- name: Configure a new dns view instance
|
||||
nios_dns_view:
|
||||
name: ansible-dns
|
||||
state: present
|
||||
|
@ -71,7 +71,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: update the comment for dns view
|
||||
- name: Update the comment for dns view
|
||||
nios_dns_view:
|
||||
name: ansible-dns
|
||||
comment: this is an example comment
|
||||
|
@ -81,7 +81,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove the dns view instance
|
||||
- name: Remove the dns view instance
|
||||
nios_dns_view:
|
||||
name: ansible-dns
|
||||
state: absent
|
||||
|
@ -90,7 +90,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: update the dns view instance
|
||||
- name: Update the dns view instance
|
||||
nios_dns_view:
|
||||
name: {new_name: ansible-dns-new, old_name: ansible-dns}
|
||||
state: present
|
||||
|
|
|
@ -94,7 +94,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure ipv4 dhcp fixed address
|
||||
- name: Configure ipv4 dhcp fixed address
|
||||
nios_fixed_address:
|
||||
name: ipv4_fixed
|
||||
ipaddr: 192.168.10.1
|
||||
|
@ -108,7 +108,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: configure a ipv6 dhcp fixed address
|
||||
- name: Configure a ipv6 dhcp fixed address
|
||||
nios_fixed_address:
|
||||
name: ipv6_fixed
|
||||
ipaddr: fe80::1/10
|
||||
|
@ -122,7 +122,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: set dhcp options for a ipv4 fixed address
|
||||
- name: Set dhcp options for a ipv4 fixed address
|
||||
nios_fixed_address:
|
||||
name: ipv4_fixed
|
||||
ipaddr: 192.168.10.1
|
||||
|
@ -139,7 +139,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove a ipv4 dhcp fixed address
|
||||
- name: Remove a ipv4 dhcp fixed address
|
||||
nios_fixed_address:
|
||||
name: ipv4_fixed
|
||||
ipaddr: 192.168.10.1
|
||||
|
|
|
@ -144,7 +144,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure an ipv4 host record
|
||||
- name: Configure an ipv4 host record
|
||||
nios_host_record:
|
||||
name: host.ansible.com
|
||||
ipv4:
|
||||
|
@ -157,7 +157,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: add a comment to an existing host record
|
||||
- name: Add a comment to an existing host record
|
||||
nios_host_record:
|
||||
name: host.ansible.com
|
||||
ipv4:
|
||||
|
@ -169,7 +169,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove a host record from the system
|
||||
- name: Remove a host record from the system
|
||||
nios_host_record:
|
||||
name: host.ansible.com
|
||||
state: absent
|
||||
|
@ -178,7 +178,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: update an ipv4 host record
|
||||
- name: Update an ipv4 host record
|
||||
nios_host_record:
|
||||
name: {new_name: host-new.ansible.com, old_name: host.ansible.com}
|
||||
ipv4:
|
||||
|
@ -189,7 +189,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: create an ipv4 host record bypassing DNS
|
||||
- name: Create an ipv4 host record bypassing DNS
|
||||
nios_host_record:
|
||||
name: new_host
|
||||
ipv4:
|
||||
|
@ -201,7 +201,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: create an ipv4 host record over DHCP
|
||||
- name: Create an ipv4 host record over DHCP
|
||||
nios_host_record:
|
||||
name: host.ansible.com
|
||||
ipv4:
|
||||
|
@ -214,7 +214,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: dynamically add host record to next available ip
|
||||
- name: Dynamically add host record to next available ip
|
||||
nios_host_record:
|
||||
name: host.ansible.com
|
||||
ipv4:
|
||||
|
@ -226,7 +226,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: add ip to host record
|
||||
- name: Add ip to host record
|
||||
nios_host_record:
|
||||
name: host.ansible.com
|
||||
ipv4:
|
||||
|
@ -238,7 +238,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove ip to host record
|
||||
- name: Remove ip to host record
|
||||
nios_host_record:
|
||||
name: host.ansible.com
|
||||
ipv4:
|
||||
|
|
|
@ -298,7 +298,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: add a member to the grid with IPv4 address
|
||||
- name: Add a member to the grid with IPv4 address
|
||||
nios_member:
|
||||
host_name: member01.localdomain
|
||||
vip_setting:
|
||||
|
@ -314,7 +314,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: add a HA member to the grid
|
||||
- name: Add a HA member to the grid
|
||||
nios_member:
|
||||
host_name: memberha.localdomain
|
||||
vip_setting:
|
||||
|
@ -339,7 +339,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: update the member with pre-provisioning details specified
|
||||
- name: Update the member with pre-provisioning details specified
|
||||
nios_member:
|
||||
name: member01.localdomain
|
||||
pre_provisioning:
|
||||
|
@ -358,7 +358,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove the member
|
||||
- name: Remove the member
|
||||
nios_member:
|
||||
name: member01.localdomain
|
||||
state: absent
|
||||
|
|
|
@ -69,7 +69,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure an MX record
|
||||
- name: Configure an MX record
|
||||
nios_mx_record:
|
||||
name: ansible.com
|
||||
mx: mailhost.ansible.com
|
||||
|
@ -81,7 +81,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: add a comment to an existing MX record
|
||||
- name: Add a comment to an existing MX record
|
||||
nios_mx_record:
|
||||
name: ansible.com
|
||||
mx: mailhost.ansible.com
|
||||
|
@ -94,7 +94,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: remove an MX record from the system
|
||||
- name: Remove an MX record from the system
|
||||
nios_mx_record:
|
||||
name: ansible.com
|
||||
mx: mailhost.ansible.com
|
||||
|
|
|
@ -97,7 +97,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure a NAPTR record
|
||||
- name: Configure a NAPTR record
|
||||
nios_naptr_record:
|
||||
name: '*.subscriber-100.ansiblezone.com'
|
||||
order: 1000
|
||||
|
@ -110,7 +110,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: add a comment to an existing NAPTR record
|
||||
- name: Add a comment to an existing NAPTR record
|
||||
nios_naptr_record:
|
||||
name: '*.subscriber-100.ansiblezone.com'
|
||||
order: 1000
|
||||
|
@ -124,7 +124,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: remove a NAPTR record from the system
|
||||
- name: Remove a NAPTR record from the system
|
||||
nios_naptr_record:
|
||||
name: '*.subscriber-100.ansiblezone.com'
|
||||
order: 1000
|
||||
|
|
|
@ -92,7 +92,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure a network ipv4
|
||||
- name: Configure a network ipv4
|
||||
nios_network:
|
||||
network: 192.168.10.0/24
|
||||
comment: this is a test comment
|
||||
|
@ -102,7 +102,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: configure a network ipv6
|
||||
- name: Configure a network ipv6
|
||||
nios_network:
|
||||
network: fe80::/64
|
||||
comment: this is a test comment
|
||||
|
@ -112,7 +112,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: set dhcp options for a network ipv4
|
||||
- name: Set dhcp options for a network ipv4
|
||||
nios_network:
|
||||
network: 192.168.10.0/24
|
||||
comment: this is a test comment
|
||||
|
@ -125,7 +125,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove a network ipv4
|
||||
- name: Remove a network ipv4
|
||||
nios_network:
|
||||
network: 192.168.10.0/24
|
||||
state: absent
|
||||
|
@ -134,7 +134,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: configure a ipv4 network container
|
||||
- name: Configure a ipv4 network container
|
||||
nios_network:
|
||||
network: 192.168.10.0/24
|
||||
container: true
|
||||
|
@ -145,7 +145,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: configure a ipv6 network container
|
||||
- name: Configure a ipv6 network container
|
||||
nios_network:
|
||||
network: fe80::/64
|
||||
container: true
|
||||
|
@ -156,7 +156,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove a ipv4 network container
|
||||
- name: Remove a ipv4 network container
|
||||
nios_network:
|
||||
networkr: 192.168.10.0/24
|
||||
container: true
|
||||
|
|
|
@ -52,7 +52,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure a new network view
|
||||
- name: Configure a new network view
|
||||
nios_network_view:
|
||||
name: ansible
|
||||
state: present
|
||||
|
@ -61,7 +61,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: update the comment for network view
|
||||
- name: Update the comment for network view
|
||||
nios_network_view:
|
||||
name: ansible
|
||||
comment: this is an example comment
|
||||
|
@ -71,7 +71,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove the network view
|
||||
- name: Remove the network view
|
||||
nios_network_view:
|
||||
name: ansible
|
||||
state: absent
|
||||
|
@ -80,7 +80,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: update a existing network view
|
||||
- name: Update a existing network view
|
||||
nios_network_view:
|
||||
name: {new_name: ansible-new, old_name: ansible}
|
||||
state: present
|
||||
|
|
|
@ -182,7 +182,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: create simple infoblox nameserver group
|
||||
- name: Create simple infoblox nameserver group
|
||||
nios_nsgroup:
|
||||
name: my-simple-group
|
||||
comment: "this is a simple nameserver group"
|
||||
|
@ -195,7 +195,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: create infoblox nameserver group with external primaries
|
||||
- name: Create infoblox nameserver group with external primaries
|
||||
nios_nsgroup:
|
||||
name: my-example-group
|
||||
use_external_primary: true
|
||||
|
@ -212,7 +212,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: delete infoblox nameserver group
|
||||
- name: Delete infoblox nameserver group
|
||||
nios_nsgroup:
|
||||
name: my-simple-group
|
||||
comment: "this is a simple nameserver group"
|
||||
|
|
|
@ -75,7 +75,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure an SRV record
|
||||
- name: Configure an SRV record
|
||||
nios_srv_record:
|
||||
name: _sip._tcp.service.ansible.com
|
||||
port: 5080
|
||||
|
@ -89,7 +89,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: add a comment to an existing SRV record
|
||||
- name: Add a comment to an existing SRV record
|
||||
nios_srv_record:
|
||||
name: _sip._tcp.service.ansible.com
|
||||
port: 5080
|
||||
|
@ -104,7 +104,7 @@ EXAMPLES = '''
|
|||
password: admin
|
||||
connection: local
|
||||
|
||||
- name: remove an SRV record from the system
|
||||
- name: Remove an SRV record from the system
|
||||
nios_srv_record:
|
||||
name: _sip._tcp.service.ansible.com
|
||||
port: 5080
|
||||
|
|
|
@ -89,7 +89,7 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: configure a zone on the system using grid primary and secondaries
|
||||
- name: Configure a zone on the system using grid primary and secondaries
|
||||
nios_zone:
|
||||
name: ansible.com
|
||||
grid_primary:
|
||||
|
@ -104,7 +104,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: configure a zone on the system using a name server group
|
||||
- name: Configure a zone on the system using a name server group
|
||||
nios_zone:
|
||||
name: ansible.com
|
||||
ns_group: examplensg
|
||||
|
@ -115,7 +115,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: configure a reverse mapping zone on the system using IPV4 zone format
|
||||
- name: Configure a reverse mapping zone on the system using IPV4 zone format
|
||||
nios_zone:
|
||||
name: 10.10.10.0/24
|
||||
zone_format: IPV4
|
||||
|
@ -125,7 +125,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: configure a reverse mapping zone on the system using IPV6 zone format
|
||||
- name: Configure a reverse mapping zone on the system using IPV6 zone format
|
||||
nios_zone:
|
||||
name: 100::1/128
|
||||
zone_format: IPV6
|
||||
|
@ -135,7 +135,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: update the comment and ext attributes for an existing zone
|
||||
- name: Update the comment and ext attributes for an existing zone
|
||||
nios_zone:
|
||||
name: ansible.com
|
||||
comment: this is an example comment
|
||||
|
@ -147,7 +147,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove the dns zone
|
||||
- name: Remove the dns zone
|
||||
nios_zone:
|
||||
name: ansible.com
|
||||
state: absent
|
||||
|
@ -156,7 +156,7 @@ EXAMPLES = '''
|
|||
username: admin
|
||||
password: admin
|
||||
connection: local
|
||||
- name: remove the reverse mapping dns zone from the system with IPV4 zone format
|
||||
- name: Remove the reverse mapping dns zone from the system with IPV4 zone format
|
||||
nios_zone:
|
||||
name: 10.10.10.0/24
|
||||
zone_format: IPV4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue