Merge "Do undercloud container prepare in external_deploy_tasks"

This commit is contained in:
Zuul 2018-07-26 09:23:43 +00:00 committed by Gerrit Code Review
commit 5fefd0bd08
2 changed files with 6 additions and 6 deletions

View File

@ -60,10 +60,8 @@ outputs:
- 8787
- 13787
step_config: ''
host_prep_tasks: []
deploy_steps_tasks:
host_prep_tasks:
- name: Install, Configure and Run Docker Distribution
when: step|int == 1
block:
# NOTE(bogdando): w/a https://github.com/ansible/ansible/issues/42621
- set_fact:
@ -77,6 +75,10 @@ outputs:
- include_role:
name: container-registry
tasks_from: docker-distribution
external_deploy_tasks:
- name: Container image prepare
when: step|int == 1
block:
- name: Create temp file for prepare parameter
tempfile:
state: file

View File

@ -80,10 +80,8 @@ outputs:
service_name: docker
config_settings: {}
step_config: ''
host_prep_tasks: []
deploy_steps_tasks:
host_prep_tasks:
- name: Install, Configure and Run Docker
when: step|int == 1
block:
# NOTE(bogdando): w/a https://github.com/ansible/ansible/issues/42621
- set_fact: &docker_vars