refactor: use generic ansible modules service and package
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-06-05 15:30:35 +02:00
parent 9f2bc8fbd5
commit 525fbb157b
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
---
- name: Restart service
systemd:
service:
name: "{{ __scan2mail_incron_service }}"
state: restarted
daemon_reload: yes

View File

@ -1,6 +1,6 @@
---
- name: Ensure incron service is up and running
systemd:
service:
name: "{{ __scan2mail_incron_service }}"
state: started
daemon_reload: yes