Merge "podman/systemd: fix task indentation for timer" into stable/train

This commit is contained in:
Zuul 2020-02-19 22:55:01 +00:00 committed by Gerrit Code Review
commit 1eb5b67e6e
1 changed files with 9 additions and 9 deletions

View File

@ -63,12 +63,12 @@
owner: root
group: root
register: systemd_timer
- name: "Enable and start systemd timer for {{ container_sysd_name }}"
systemd:
# Restart the timer if it was already running
state: restarted
name: "tripleo_{{ container_sysd_name }}_healthcheck.timer"
enabled: true
daemon_reload: true
when:
- systemd_healthcheck.changed or systemd_timer.changed
- name: "Enable and start systemd timer for {{ container_sysd_name }}"
systemd:
# Restart the timer if it was already running
state: restarted
name: "tripleo_{{ container_sysd_name }}_healthcheck.timer"
enabled: true
daemon_reload: true
when:
- systemd_healthcheck.changed or systemd_timer.changed