Restore tags inside the main playbook
This modification reintroduces the tags for all the task inside the main playbooks quickstart-extras-*.yml. This is related to the tags topic [1] and is meant for developers who wants to have atomic access to each step of the deployment. [1] https://bugs.launchpad.net/tripleo/+bug/1657415 Change-Id: Icd645ee9003bafb8988a6430280ab4b7ad5ff34f
This commit is contained in:
parent
a72d3602cd
commit
7c2883814a
@ -2,6 +2,8 @@
|
|||||||
- name: Prepare configuration files for the overcloud deployment
|
- name: Prepare configuration files for the overcloud deployment
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
tags:
|
||||||
|
- overcloud-prep-config
|
||||||
roles:
|
roles:
|
||||||
- overcloud-prep-config
|
- overcloud-prep-config
|
||||||
|
|
||||||
@ -9,6 +11,8 @@
|
|||||||
- name: Prepare overcloud containers
|
- name: Prepare overcloud containers
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
tags:
|
||||||
|
- overcloud-prep-containers
|
||||||
roles:
|
roles:
|
||||||
- overcloud-prep-containers
|
- overcloud-prep-containers
|
||||||
|
|
||||||
@ -16,6 +20,8 @@
|
|||||||
- name: Prepare the overcloud images for deployment
|
- name: Prepare the overcloud images for deployment
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
tags:
|
||||||
|
- overcloud-prep-images
|
||||||
roles:
|
roles:
|
||||||
- overcloud-prep-images
|
- overcloud-prep-images
|
||||||
|
|
||||||
@ -34,6 +40,8 @@
|
|||||||
- name: Prepare overcloud flavors
|
- name: Prepare overcloud flavors
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
tags:
|
||||||
|
- overcloud-prep-flavors
|
||||||
roles:
|
roles:
|
||||||
- overcloud-prep-flavors
|
- overcloud-prep-flavors
|
||||||
|
|
||||||
@ -41,6 +49,8 @@
|
|||||||
- name: Prepare the undercloud networks for the overcloud deployment
|
- name: Prepare the undercloud networks for the overcloud deployment
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
tags:
|
||||||
|
- overcloud-prep-network
|
||||||
roles:
|
roles:
|
||||||
- overcloud-prep-network
|
- overcloud-prep-network
|
||||||
|
|
||||||
@ -58,5 +68,7 @@
|
|||||||
- name: Prepare the SSL Configuration for the overcloud deployment
|
- name: Prepare the SSL Configuration for the overcloud deployment
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
tags:
|
||||||
|
- overcloud-ssl
|
||||||
roles:
|
roles:
|
||||||
- { role: overcloud-ssl }
|
- { role: overcloud-ssl }
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
tags:
|
tags:
|
||||||
- overcloud-deploy
|
- overcloud-deploy
|
||||||
|
- overcloud-inventory
|
||||||
vars:
|
vars:
|
||||||
inventory: all
|
inventory: all
|
||||||
roles:
|
roles:
|
||||||
@ -33,6 +34,7 @@
|
|||||||
hosts: localhost
|
hosts: localhost
|
||||||
tags:
|
tags:
|
||||||
- overcloud-deploy
|
- overcloud-deploy
|
||||||
|
- overcloud-check
|
||||||
tasks:
|
tasks:
|
||||||
- name: ensure the deployment result has been read into memory
|
- name: ensure the deployment result has been read into memory
|
||||||
include_vars: "{{ local_working_dir }}/overcloud_deployment_result.json"
|
include_vars: "{{ local_working_dir }}/overcloud_deployment_result.json"
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
- name: Deploy the FreeIPA server
|
- name: Deploy the FreeIPA server
|
||||||
hosts: supplemental
|
hosts: supplemental
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
tags:
|
||||||
|
- freeipa-setup
|
||||||
roles:
|
roles:
|
||||||
- { role: freeipa-setup, when: deploy_supplemental_node|bool and enable_tls_everywhere|bool }
|
- { role: freeipa-setup, when: deploy_supplemental_node|bool and enable_tls_everywhere|bool }
|
||||||
|
|
||||||
@ -11,6 +13,8 @@
|
|||||||
gather_facts: no
|
gather_facts: no
|
||||||
vars:
|
vars:
|
||||||
ansible_user: root
|
ansible_user: root
|
||||||
|
tags:
|
||||||
|
- undercloud-setup
|
||||||
roles:
|
roles:
|
||||||
- { role: undercloud-setup, when: undercloud_setup|bool }
|
- { role: undercloud-setup, when: undercloud_setup|bool }
|
||||||
|
|
||||||
@ -18,6 +22,8 @@
|
|||||||
- name: Deploy the undercloud
|
- name: Deploy the undercloud
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
|
tags:
|
||||||
|
- undercloud-deploy
|
||||||
roles:
|
roles:
|
||||||
- undercloud-deploy
|
- undercloud-deploy
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Tags were added in all the playbooks so that it is possible to control
|
||||||
|
atomically the flow of the entire process.
|
||||||
|
For details about how to use tags check the chapter *Using tags to
|
||||||
|
atomically execute specific phases of the deployment* in
|
||||||
|
[TripleO Quickstart - Getting Started Guide](https://docs.openstack.org/tripleo-quickstart/latest/getting-started.html)
|
Loading…
x
Reference in New Issue
Block a user