fix handlers

This commit is contained in:
ace 2024-07-30 21:51:02 +03:00
parent 981d4ce788
commit 23a4dfe28b
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -11,7 +11,7 @@
name: backup.timer
enabled: "{{ 'yes' if wal_g_backup_enable else 'no' }}"
masked : no
state: "{{ 'started' if wal_g_backup_permanent_enable else 'stopped' }}"
state: "{{ 'started' if wal_g_backup_enable else 'stopped' }}"
daemon_reload: yes
when: backup_timer.changed