Fix server post deploy step with config-download
Due to a misplaced endfor in the j2 template, the deployments.yaml playbook was only included for the first role. The bogus task playbook was rendered as: - hosts: overcloud name: Server Post Deployments gather_facts: no any_errors_fatal: yes tasks: - include: Controller/deployments.yaml vars: force: false when: role_name == 'Controller' with_items: "{{ Controller_post_deployments|default([]) }}" tags: - overcloud - post_deploy_steps - include: Compute/deployments.yaml vars: force: false when: role_name == 'Compute' with_items: "{{ Compute_post_deployments|default([]) }}" tags: - overcloud - post_deploy_steps Change-Id: I625fcaa7c4dcb4f99f30b9d6def293154f4eb7ec
This commit is contained in:
parent
313d42c4c7
commit
997f4f6c2b
@ -508,10 +508,10 @@ outputs:
|
||||
force: false
|
||||
when: role_name == '{{role.name}}'
|
||||
with_items: "{{ '{{' }} {{role.name}}_post_deployments|default([]) {{ '}}' }}"
|
||||
{%- endfor %}
|
||||
tags:
|
||||
- overcloud
|
||||
- post_deploy_steps
|
||||
{%- endfor %}
|
||||
- hosts: undercloud
|
||||
name: External deployment Post Deploy tasks
|
||||
gather_facts: no
|
||||
|
Loading…
Reference in New Issue
Block a user