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

Meraki_snmp - Add examples for SNMP documentation (#41424)

* Add examples for SNMP documentation

* Removed whitespace for PEP8
This commit is contained in:
Kevin Breit 2018-06-20 02:38:10 -05:00 committed by Dag Wieers
parent 7058f11e1d
commit 5ee0c0af18

View file

@ -68,6 +68,35 @@ EXAMPLES = r'''
org_name: YourOrg
state: query
delegate_to: localhost
- name: Enable SNMPv2
meraki_snmp:
auth_key: abc12345
org_name: YourOrg
state: present
v2c_enabled: yes
delegate_to: localhost
- name: Disable SNMPv2
meraki_snmp:
auth_key: abc12345
org_name: YourOrg
state: present
v2c_enabled: no
delegate_to: localhost
- name: Enable SNMPv3
meraki_snmp:
auth_key: abc12345
org_name: YourOrg
state: present
v3_enabled: true
v3_auth_mode: SHA
v3_auth_pass: ansiblepass
v3_priv_mode: AES128
v3_priv_pass: ansiblepass
peer_ips: 192.0.1.1;192.0.1.2
delegate_to: localhost
'''
RETURN = r'''