mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
Fix YAML syntax in NXOS documentation (#4922)
* Fix YAML syntax in NXOS documentation Use ':' and not '=' to ensure valid YAML in the EXAMPLES * Correcting introduced syntax error
This commit is contained in:
parent
10af591da2
commit
319b2b28cb
32 changed files with 263 additions and 258 deletions
|
@ -49,22 +49,22 @@ options:
|
|||
choices: ['enabled','disabled']
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
EXAMPLES = '''
|
||||
# ensure lldp trap configured
|
||||
- nxos_snmp_traps:
|
||||
group=lldp
|
||||
state=enabled
|
||||
host={{ inventory_hostname }}
|
||||
username={{ un }}
|
||||
password={{ pwd }}
|
||||
group: lldp
|
||||
state: enabled
|
||||
host: {{ inventory_hostname }}
|
||||
username: {{ un }}
|
||||
password: {{ pwd }}
|
||||
|
||||
# ensure lldp trap is not configured
|
||||
- nxos_snmp_traps:
|
||||
group=lldp
|
||||
state=disabled
|
||||
host={{ inventory_hostname }}
|
||||
username={{ un }}
|
||||
password={{ pwd }}
|
||||
group: lldp
|
||||
state: disabled
|
||||
host: {{ inventory_hostname }}
|
||||
username: {{ un }}
|
||||
password: {{ pwd }}
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
@ -493,4 +493,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue