Enabling timer should trigger restart

This commit is contained in:
Wojciech Kozlowski 2022-11-03 00:23:40 +01:00
parent 1db7785dc4
commit 07dd795a68
2 changed files with 6 additions and 2 deletions

View File

@ -40,12 +40,14 @@
name: rsync-certificates.timer
enabled: yes
scope: user
register: rsync_certificates_timer
- name: Record changes
set_fact:
service_changed: true
when:
rproxy_synchronise is changed or
dhparam is changed
dhparam is changed or
rsync_certificates_timer is changed
become_user: "{{ service_user_name }}"

View File

@ -19,12 +19,14 @@
name: container-rproxy-certbot.timer
enabled: yes
scope: user
register: container_rproxy_certbot_timer
- name: Record changes
set_fact:
service_changed: true
when:
rproxy_synchronise is changed or
dhparam is changed
dhparam is changed or
container_rproxy_certbot_timer is changed
become_user: "{{ service_user_name }}"