Browse Source

Merge "tripleo_container_manage: skip shutdown.yml if not necessary" into stable/train

changes/40/705440/3
Zuul 1 week ago
parent
commit
53b51fc98b
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      tripleo_ansible/roles/tripleo-container-manage/tasks/main.yml

+ 6
- 0
tripleo_ansible/roles/tripleo-container-manage/tasks/main.yml View File

@@ -81,8 +81,14 @@
when:
- tripleo_container_manage_systemd_order
block:
- name: Check if /usr/lib/systemd/system-preset/91-tripleo-container-shutdown.preset exists
stat:
path: /usr/lib/systemd/system-preset/91-tripleo-container-shutdown.preset
register: tripleo_container_shutdown
- name: Include tasks for systemd shutdown service
include_tasks: shutdown.yml
when:
- not tripleo_container_shutdown.stat.exists

- name: "Manage containers from {{ tripleo_container_manage_config }}"
when:

Loading…
Cancel
Save