refactor: use generic ansible modules service and package
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9f2bc8fbd5
commit
525fbb157b
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Restart service
|
- name: Restart service
|
||||||
systemd:
|
service:
|
||||||
name: "{{ __scan2mail_incron_service }}"
|
name: "{{ __scan2mail_incron_service }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Ensure incron service is up and running
|
- name: Ensure incron service is up and running
|
||||||
systemd:
|
service:
|
||||||
name: "{{ __scan2mail_incron_service }}"
|
name: "{{ __scan2mail_incron_service }}"
|
||||||
state: started
|
state: started
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user