mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-07 00:44:01 -07:00
Add module support to yamllint sanity test. (#34964)
* Add module support to yamllint sanity test. * Fix duplicate keys in module RETURN docs. * Fix syntax in return_common docs fragment. * Fix duplicate keys in module EXAMPLES docs.
This commit is contained in:
parent
240024ea4a
commit
227ff61f9d
53 changed files with 533 additions and 344 deletions
|
@ -55,17 +55,17 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
name: Allow forwarding of IPv4 packets on network interface e1000g0
|
||||
ipadm_ifprop: protocol=ipv4 property=forwarding value=on interface=e1000g0
|
||||
- name: Allow forwarding of IPv4 packets on network interface e1000g0
|
||||
ipadm_ifprop: protocol=ipv4 property=forwarding value=on interface=e1000g0
|
||||
|
||||
name: Temporarily reset IPv4 forwarding property on network interface e1000g0
|
||||
ipadm_ifprop: protocol=ipv4 interface=e1000g0 temporary=true property=forwarding state=reset
|
||||
- name: Temporarily reset IPv4 forwarding property on network interface e1000g0
|
||||
ipadm_ifprop: protocol=ipv4 interface=e1000g0 temporary=true property=forwarding state=reset
|
||||
|
||||
name: Configure IPv6 metric on network interface e1000g0
|
||||
ipadm_ifprop: protocol=ipv6 nic=e1000g0 name=metric value=100
|
||||
- name: Configure IPv6 metric on network interface e1000g0
|
||||
ipadm_ifprop: protocol=ipv6 nic=e1000g0 name=metric value=100
|
||||
|
||||
name: Set IPv6 MTU on network interface bge0
|
||||
ipadm_ifprop: interface=bge0 name=mtu value=1280 protocol=ipv6
|
||||
- name: Set IPv6 MTU on network interface bge0
|
||||
ipadm_ifprop: interface=bge0 name=mtu value=1280 protocol=ipv6
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue