Move handler to tasks

Disabling reflector as handler afterwards removes the changes done earlier
This commit is contained in:
Sonny Bakker 2021-01-16 18:40:58 +01:00
parent c966d6f99d
commit 24d69ee598
6 changed files with 12 additions and 11 deletions

View file

@ -14,14 +14,6 @@
enabled: true
daemon-reload: true
# started by weekly timer
- name: disable reflector
become: true
systemd:
name: reflector
state: stopped
enabled: false
- name: restart user ssh-agent
systemd:
name: ssh-agent