Merge "podman/systemd: manage timer requires"

This commit is contained in:
Zuul 2020-02-21 19:22:51 +00:00 committed by Gerrit Code Review
commit f902aff3dc

View File

@ -72,3 +72,12 @@
daemon_reload: true
when:
- systemd_healthcheck.changed or systemd_timer.changed
- name: "Add systemd require for {{ container_sysd_name }} healthcheck"
command: "systemctl add-requires tripleo_{{ container_sysd_name }}.service tripleo_{{ container_sysd_name }}_healthcheck.timer"
when:
- systemd_healthcheck.changed or systemd_timer.changed
- name: "Force systemd daemon reload"
systemd:
daemon_reload: true
when:
- systemd_healthcheck.changed or systemd_timer.changed