5c22039cd0
This patch looks huge, so let's split things in the following listing: - rename role to match the naming convention - role name shouldn't get hyphen, so let's use underscores instead. Playbooks don't need to follow this rule. This should make the role more portable in the future. - modify role - "disable" the main.yml - we must call specific task file. - no more condioned deploy based on variables. Makes it easier to follow and maintain. - update how the edpm inventory is edited - use plain YAML - output plain YAML - this format is consistent with latest changes in tripleo-ansible[1] These changes make the overall role easier to understand and maintain, while ensuring the playbook is also easier to read. It may also make the deploy a bit faster with the new way to run the various tasks. - update playbook - boostrap both nodes in a 2-stages way (check comment as to why). - deploy compute from the undercloud (mimic what an operator would do) - validate the compute from the undercloud (no actual change here) - target specific task_file during the different stages. It's easier to understand what's going on in there These changes should allow a better understanding of the overall playbook. - update edpm deploy script to use an environment file instead of CLI params - this makes the script lighter and easier to understand - adding new parameters in the env file is easier - reading the env file for debugging is better [1] https://review.opendev.org/c/openstack/tripleo-ansible/+/869357 Change-Id: I263f424a5a08214b9c46c5ea73b6b428709ad47b
16 lines
355 B
YAML
16 lines
355 B
YAML
---
|
|
# A set of tasks for bootstrapping the node
|
|
- name: Add the nodes to the generated inventory
|
|
vars:
|
|
inventory: multinode
|
|
include_role:
|
|
name: tripleo-inventory
|
|
|
|
- name: Prepare nodes with repositories and custom builds
|
|
include_role:
|
|
name: undercloud-setup
|
|
|
|
- name: Set proper container params
|
|
include_role:
|
|
name: container-prep
|