Merge "Add tags to plays"

This commit is contained in:
Zuul 2017-11-21 14:51:01 +00:00 committed by Gerrit Code Review
commit 344515dee0
1 changed files with 20 additions and 1 deletions

View File

@ -367,9 +367,13 @@ outputs:
name: Gather facts undercloud
gather_facts: yes
become: false
tags:
- facts
- hosts: overcloud
name: Gather facts overcloud
gather_facts: yes
tags:
- facts
- hosts: overcloud
name: Server deployments
gather_facts: no
@ -382,8 +386,11 @@ outputs:
when: role_name == '{{role.name}}'
with_items: "{{ '{{' }} {{role.name}}_pre_deployments|default([]) {{ '}}' }}"
{%- endfor %}
tags:
- overcloud
- pre_deploy_steps
- hosts: overcloud
name: Deployment steps
name: Host prep steps
gather_facts: no
any_errors_fatal: yes
vars:
@ -393,6 +400,9 @@ outputs:
- include: {{role.name}}/host_prep_tasks.yaml
when: role_name == '{{role.name}}'
{%- endfor %}
tags:
- overcloud
- host_prep_steps
{%- for step in range(1,deploy_steps_max) %}
- hosts: undercloud
name: External deployment step {{step}}
@ -403,6 +413,9 @@ outputs:
step: '{{step}}'
tasks:
- include: external_deploy_steps_tasks.yaml
tags:
- external
- external_deploy_steps
- hosts: overcloud
name: Overcloud deployment step {{step}}
gather_facts: no
@ -412,6 +425,9 @@ outputs:
step: '{{step}}'
tasks:
- include: deploy_steps_tasks.yaml
tags:
- overcloud
- deploy_steps
{%- endfor %}
- hosts: overcloud
name: Server Post Deployments
@ -424,6 +440,9 @@ outputs:
force: false
when: role_name == '{{role.name}}'
with_items: "{{ '{{' }} {{role.name}}_post_deployments|default([]) {{ '}}' }}"
tags:
- overcloud
- post_deploy_steps
{%- endfor %}
external_deploy_steps_tasks: {get_attr: [ExternalDeployTasks, value]}
update_steps_tasks: |