Merge pull request #135 from bcoca/snmp_facts_docfix

minor doc tweaks to snmp_facts
This commit is contained in:
Michael DeHaan 2014-12-08 14:33:15 -08:00
commit 5da1984484

View file

@ -30,7 +30,7 @@ requirements:
options:
host:
description:
- Set to {{ inventory_hostname }}}
- Set to target snmp server (normally {{inventory_hostname}})
required: true
version:
description:
@ -73,6 +73,7 @@ options:
EXAMPLES = '''
# Gather facts with SNMP version 2
- snmp_facts: host={{ inventory_hostname }} version=2c community=public
connection: local
# Gather facts using SNMP version 3
- snmp_facts:
@ -84,6 +85,7 @@ EXAMPLES = '''
username=snmp-user
authkey=abc12345
privkey=def6789
delegate_to: localhost
'''
from ansible.module_utils.basic import *