mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 20:31:27 -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
|
@ -58,17 +58,17 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
name: Create IPv4 tunnel interface 'iptun0'
|
||||
dladm_iptun: name=iptun0 local_address=192.0.2.23 remote_address=203.0.113.10 state=present
|
||||
- name: Create IPv4 tunnel interface 'iptun0'
|
||||
dladm_iptun: name=iptun0 local_address=192.0.2.23 remote_address=203.0.113.10 state=present
|
||||
|
||||
name: Change IPv4 tunnel remote address
|
||||
dladm_iptun: name=iptun0 type=ipv4 local_address=192.0.2.23 remote_address=203.0.113.11
|
||||
- name: Change IPv4 tunnel remote address
|
||||
dladm_iptun: name=iptun0 type=ipv4 local_address=192.0.2.23 remote_address=203.0.113.11
|
||||
|
||||
name: Create IPv6 tunnel interface 'tun0'
|
||||
dladm_iptun: name=tun0 type=ipv6 local_address=192.0.2.23 remote_address=203.0.113.42
|
||||
- name: Create IPv6 tunnel interface 'tun0'
|
||||
dladm_iptun: name=tun0 type=ipv6 local_address=192.0.2.23 remote_address=203.0.113.42
|
||||
|
||||
name: Remove 'iptun0' tunnel interface
|
||||
dladm_iptun: name=iptun0 state=absent
|
||||
- name: Remove 'iptun0' tunnel interface
|
||||
dladm_iptun: name=iptun0 state=absent
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue