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
54d1a6d43e
commit
a20a56563b
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Restart docker-renovate
|
- name: Restart docker-renovate
|
||||||
systemd:
|
service:
|
||||||
state: "{{ renovatebot_service_stopped | ternary('stopped', 'restarted', 'restarted') }}"
|
state: "{{ renovatebot_service_stopped | ternary('stopped', 'restarted', 'restarted') }}"
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
name: renovate
|
name: renovate
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
notify: __renovate_restart
|
notify: __renovate_restart
|
||||||
|
|
||||||
- name: Ensure renovatebot timer is up and running
|
- name: Ensure renovatebot timer is up and running
|
||||||
systemd:
|
service:
|
||||||
name: renovate.timer
|
name: renovate.timer
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user