Browse Source

oops

master
squeaky otter 1 year ago
parent
commit
cf30ff9380
Signed by: dashie GPG Key ID: C2D57B325840B755
  1. 4
      handlers/main.yml

4
handlers/main.yml

@ -3,11 +3,11 @@
service:
name: snmpd
state: restarted
when: snmpd_enabled and ansible_os_family != 'FreeBSD' and freebsd_bsnmp: False
when: snmpd_enabled and ansible_os_family != 'FreeBSD' and freebsd_bsnmp == False
- name: restart bsnmpd
service:
name: bsnmpd
state: restarted
when: snmpd_enabled and ansible_os_family == 'FreeBSD' and freebsd_bsnmp: True
when: snmpd_enabled and ansible_os_family == 'FreeBSD' and freebsd_bsnmp == True
Loading…
Cancel
Save