1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

minor doc tweaks to snmp_facts

This commit is contained in:
Brian Coca 2014-12-06 18:58:23 -05:00 committed by Matt Clay
parent 79bd23da3e
commit 766125d585

View file

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