snmp
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
Debian-snmp ALL = NOPASSWD: /etc/snmp/bind, /etc/snmp/fail2ban, /etc/snmp/docker-stats.sh, /etc/snmp/mailcow-dockerized-postfix, /etc/snmp/unbound
|
Debian-snmp ALL = NOPASSWD: /etc/snmp/bind, /etc/snmp/fail2ban, /etc/snmp/docker-stats.sh, /etc/snmp/mailcow-dockerized-postfix, /etc/snmp/unbound, /etc/snmp/osupdate, /etc/snmp/distro
|
||||||
Debian-snmp ALL = (postgres) NOPASSWD: /etc/snmp/postgres
|
Debian-snmp ALL = (postgres) NOPASSWD: /etc/snmp/postgres
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
- name: server | snmpd | insert anchors to snmpd.conf
|
- name: server | snmpd | insert anchors to snmpd.conf
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: "{{ snmpd_conf }}"
|
path: "{{ snmpd_conf }}"
|
||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK" # not required. The marker line template. C({mark}) will be replaced with the values C(in marker_begin) (default="BEGIN") and C(marker_end) (default="END"). Using a custom marker without the C({mark}) variable may result in the block being repeatedly inserted on subsequent playbook runs.
|
marker: "# {mark} ANSIBLE MANAGED BLOCK"
|
||||||
block: |
|
block: |
|
||||||
################################################################################
|
################################################################################
|
||||||
# SECTION: custom settings
|
# SECTION: custom settings
|
||||||
|
|||||||
Reference in New Issue
Block a user