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:
James Slagle 2018-04-04 09:57:49 -04:00
parent 76a7a1868a
commit 7089f06bd5
1 changed files with 15 additions and 0 deletions

View File

@ -410,6 +410,21 @@ outputs:
- tripleo-ssh-known-hosts
tags:
- 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
name: Server deployments
gather_facts: no