Revert "tripleo-container-manage: add task to start systemd healthcheck service"

This reverts commit cb4b443f6e.
We don't need to start the tripleo_*_healthcheck.service systemd units,
they are triggered by the tripleo_*_healthcheck.timer already.

Change-Id: I731b09fe98a01758bd86e6211b7a5fd51e889526
This commit is contained in:
Emilien Macchi 2019-11-13 08:01:55 +01:00
parent 7084248fbe
commit 0002d29f51
1 changed files with 1 additions and 10 deletions

View File

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