Use handlers

This commit is contained in:
sonny 2024-08-03 15:18:18 +02:00
parent 4e80a501c6
commit ce697edcc9
6 changed files with 37 additions and 32 deletions

View file

@ -32,6 +32,7 @@
name: radicale
state: present
virtualenv: '/usr/local/lib/radicale/env'
notify: restart radicale service
- name: create radicale directories
become: true
@ -112,11 +113,4 @@
owner: 'root',
group: 'root',
}
- name: restart radicale service
become: true
systemd:
name: radicale
state: restarted
enabled: true
daemon_reload: true
notify: restart radicale service