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:49 +02:00
parent 54d1a6d43e
commit a20a56563b
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
---
- name: Restart docker-renovate
systemd:
service:
state: "{{ renovatebot_service_stopped | ternary('stopped', 'restarted', 'restarted') }}"
daemon_reload: yes
name: renovate

View File

@ -22,7 +22,7 @@
notify: __renovate_restart
- name: Ensure renovatebot timer is up and running
systemd:
service:
name: renovate.timer
daemon_reload: yes
enabled: yes