Include tripleo container service management once
Currently this management occurs every time we include tripleo_container_manage. We only need to manage the tripleo container shutdown service once during a deployment. This change moves it to a deployment step and there is a subsequent tripleo-ansible patch to drop it from tripleo_container_manage. Change-Id: I1c31042e05307733d0f9b4c6223b9a34df599eca
This commit is contained in:
parent
688e97f4b4
commit
d9b6ed3fb2
@ -170,6 +170,13 @@ outputs:
|
||||
loop_var: prefetch_image
|
||||
loop: "{{ lookup('file', tripleo_role_name + '/docker_config.yaml', errors='ignore') | default('{}', True) | from_yaml | recursive_get_key_from_dict(key='image') | unique }}"
|
||||
|
||||
- name: Manage tripleo container services
|
||||
include_role:
|
||||
name: tripleo_container_manage
|
||||
tasks_from: shutdown.yml
|
||||
when:
|
||||
- (step|int) == 1
|
||||
|
||||
service_config_settings: {}
|
||||
|
||||
upgrade_tasks:
|
||||
|
Loading…
Reference in New Issue
Block a user