initial pass for snmpd_conf role
This commit is contained in:
parent
cebcaa1b29
commit
0d71a1adcb
@ -8,7 +8,7 @@ namespace: jchristianh
|
|||||||
name: baseos
|
name: baseos
|
||||||
|
|
||||||
# The version of the collection. Must be compatible with semantic versioning
|
# The version of the collection. Must be compatible with semantic versioning
|
||||||
version: 1.0.15
|
version: 1.0.16
|
||||||
|
|
||||||
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
||||||
readme: README.md
|
readme: README.md
|
||||||
|
@ -8,8 +8,8 @@ __template_header : The Zen Garden
|
|||||||
|
|
||||||
|
|
||||||
__snmpd_conf_file : /etc/snmp/snmpd.conf
|
__snmpd_conf_file : /etc/snmp/snmpd.conf
|
||||||
__snmpd_conf_version : 1.0.0
|
__snmpd_conf_version : 1.0.1
|
||||||
__snmpd_conf_revision : 22404
|
__snmpd_conf_revision : 231210
|
||||||
|
|
||||||
|
|
||||||
__snmp_pkg : net-snmp
|
__snmp_pkg : net-snmp
|
||||||
|
@ -3,4 +3,7 @@
|
|||||||
service:
|
service:
|
||||||
name : snmpd
|
name : snmpd
|
||||||
state: restarted
|
state: restarted
|
||||||
when: ansible_virtualization_type != "docker"
|
when:
|
||||||
|
- ansible_virtualization_type == "docker" or
|
||||||
|
ansible_virtualization_type == "podman" or
|
||||||
|
ansible_virtualization_type == "container"
|
||||||
|
@ -22,7 +22,7 @@ group MyRWGroup v2c readwrite
|
|||||||
group MyRWGroup usm readwrite
|
group MyRWGroup usm readwrite
|
||||||
|
|
||||||
view all included .1 80
|
view all included .1 80
|
||||||
view system included .iso.org.dod.internet.mgmt.mib-2.system
|
# view system included .iso.org.dod.internet.mgmt.mib-2.system
|
||||||
|
|
||||||
# context sec.model sec.level match read write notif
|
# context sec.model sec.level match read write notif
|
||||||
access MyROSystem "" any noauth exact system none none
|
access MyROSystem "" any noauth exact system none none
|
||||||
|
5
roles/snmpd_conf/vars/debian_12.yml
Normal file
5
roles/snmpd_conf/vars/debian_12.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
__snmp_pkg: snmpd
|
||||||
|
|
||||||
|
|
||||||
|
...
|
5
roles/snmpd_conf/vars/fedora_39.yml
Normal file
5
roles/snmpd_conf/vars/fedora_39.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
__snmp_pkg: net-snmp
|
||||||
|
|
||||||
|
|
||||||
|
...
|
Loading…
x
Reference in New Issue
Block a user