Ansible role for installing and Configuration SNMP v3 on installs RHEL/CentOS or Debian/Ubuntu and SNMP v2 on Windows.
ansible-galaxy install sbaerlocher.snmp
Variable | Default | Comments (type) |
---|---|---|
snmp_user | snmp | SNMP User |
snmp_password | snmp_password | SNMP Password |
snmp_encryption | snmp_encryption | SNMP Encryption |
snmp_contact | Optional: System Contact | |
snmp_location | Optional: System Location | |
snmp_agentadress_protocol.ipvX | udp / udp6 | Optional: SNMP Protocol, X for ipv4 or ipv6 |
snmp_agentadress_adress.ipvX | {{ ansible_default_ipv4.address }} / {{ ansible_default_ipv6.address }} | Optional: SNMP bind address, X for ipv4 or ipv6 |
snmp_agentadress_port.ipvX | 161 / 161 | Optional: SNMP port, X for ipv4 or ipv6 |
None
- hosts: all
roles:
- sbaerlocher.snmp
- add support for Windows 1809
- add osupdate support
- syntax cleaned up
- add distro support
- syntax cleaned up
- proxmox support
- add Windows Support
- add IP bind support
- add become support
- new role check
- support for sysContact and sysLocation
- add package manager for generic OS
- cleanup
- add ArchLinux support
- Initial release
This project is under the MIT License. See the LICENSE file for the full license text.
(c) 2018, Simon Bärlocher