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:
Josh Lothian 2016-09-19 21:22:12 -05:00 committed by Matt Clay
commit 319b2b28cb
32 changed files with 263 additions and 258 deletions

View file

@ -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()