win_snmp – Configures the Windows SNMP service¶
New in version 2.8.
Synopsis¶
This module configures the Windows SNMP service.
Parameters¶
Examples¶
---
- hosts: Windows
tasks:
- name: Replace SNMP communities and managers
win_snmp:
community_strings:
- public
permitted_managers:
- 192.168.1.2
action: set
- hosts: Windows
tasks:
- name: Replace SNMP communities and clear managers
win_snmp:
community_strings:
- public
permitted_managers: []
action: set
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]