Browse Source

prout

master
squeaky otter 10 months ago
parent
commit
0898d402ab
Signed by: dashie GPG Key ID: C2D57B325840B755
2 changed files with 4 additions and 2 deletions
  1. +2
    -0
      defaults/main.yml
  2. +2
    -2
      tasks/snmpd.yml

+ 2
- 0
defaults/main.yml View File

@ -11,6 +11,8 @@ snmpd_redhat_packages:
freebsd_bsnmp: False
snmpd_file_group: root
# Should we start and enable the daemon
snmpd_enabled: True


+ 2
- 2
tasks/snmpd.yml View File

@ -3,7 +3,7 @@
src: etc/default/snmpd.jinja2
dest: /etc/default/snmpd
owner: root
group: root
group: snmpd_file_group
mode: 0644
notify: restart snmpd
when: ansible_os_family == 'Debian'
@ -13,7 +13,7 @@
src: etc/snmp/snmpd.jinja2
dest: /etc/snmp/snmpd.conf
owner: root
group: root
group: snmpd_file_group
mode: 0600
notify: restart snmpd


Loading…
Cancel
Save