Skip to content

Commit

Permalink
Fix for: generates hashes are not being re-generated on Debian
Browse files Browse the repository at this point in the history
fixes #28
  • Loading branch information
tersmitten committed Jan 6, 2025
1 parent 75e1d66 commit e0c16f8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# handlers file
---
- name: restart snmpd
- name: remove persistent data file

Check warning on line 3 in handlers/main.yml

View workflow job for this annotation

GitHub Actions / Lint

name[casing]

All names should start with an uppercase letter.
ansible.builtin.file:
path: /var/lib/snmp/snmpd.conf
state: absent
listen: restart snmpd

- name: restart service

Check warning on line 9 in handlers/main.yml

View workflow job for this annotation

GitHub Actions / Lint

name[casing]

All names should start with an uppercase letter.
ansible.builtin.service:
name: snmpd
state: restarted
listen: restart snmpd
when: service_default_state | default('started') == 'started'

0 comments on commit e0c16f8

Please sign in to comment.