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