Meraki_snmp - Add examples for SNMP documentation (#41424)

* Add examples for SNMP documentation

* Removed whitespace for PEP8
pull/41631/merge
Kevin Breit 6 years ago committed by Dag Wieers
parent 7058f11e1d
commit 5ee0c0af18

@ -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'''

Loading…
Cancel
Save