Support deploy_steps_tasks step 0
These tasks would run before any individual server deployments. A specific use case is for rebooting dpdk/nfv nodes before applying NetworkDeployment, etc. Change-Id: I9e410def25184e635568db67149264ac89c999ed
This commit is contained in:
parent
76a7a1868a
commit
7089f06bd5
|
@ -410,6 +410,21 @@ outputs:
|
||||||
- tripleo-ssh-known-hosts
|
- tripleo-ssh-known-hosts
|
||||||
tags:
|
tags:
|
||||||
- common_roles
|
- common_roles
|
||||||
|
- hosts: overcloud
|
||||||
|
name: Overcloud deploy step tasks for step 0
|
||||||
|
gather_facts: no
|
||||||
|
any_errors_fatal: yes
|
||||||
|
vars:
|
||||||
|
bootstrap_server_id: BOOTSTRAP_SERVER_ID
|
||||||
|
step: 0
|
||||||
|
tasks:
|
||||||
|
{%- for role in roles %}
|
||||||
|
- include: {{role.name}}/deploy_steps_tasks.yaml
|
||||||
|
when: role_name == '{{role.name}}'
|
||||||
|
{%- endfor %}
|
||||||
|
tags:
|
||||||
|
- overcloud
|
||||||
|
- deploy_steps
|
||||||
- hosts: overcloud
|
- hosts: overcloud
|
||||||
name: Server deployments
|
name: Server deployments
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
|
Loading…
Reference in New Issue