tripleo-quickstart-extras/playbooks
Cédric Jeanneret 5c22039cd0 Refactor EDPM job
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
2023-01-11 11:48:54 +01:00
..
tasks Adds toci playbooks and updates for new multinode mixed OS jobs 2022-07-20 12:25:52 +03:00
baremetal-full-deploy.yml Add playbook for FreeIPA job 2019-02-08 05:41:31 +00:00
baremetal-full-freeipa.yml Modify IPA install and usage for multi-env 2022-11-03 06:49:31 -04:00
baremetal-full-overcloud-prep.yml overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
baremetal-full-overcloud-validate.yml Deprecating validate-simple 2022-10-25 15:19:23 +02:00
baremetal-full-overcloud.yml Remove legacy tripleo-validations roles calls 2021-04-12 12:24:41 +02:00
baremetal-full-undercloud.yml Remove legacy tripleo-validations roles calls 2021-04-12 12:24:41 +02:00
baremetal-prep-virthost.yml Add role to discover Centos latest images 2022-06-20 16:10:38 +05:30
baremetal-quickstart-extras.yml Replace ansible include with import_playbook 2020-10-10 13:16:43 +00:00
baremetal-undercloud-minimal.yml Do not hard-code overcloud-full image name 2021-09-10 13:52:21 +12:00
baremetal-undercloud.yml Adapt code to newer code style (linters) 2018-11-16 12:42:51 +00:00
build-images-v2.yml Adapt code to newer code style (linters) 2018-11-16 12:42:51 +00:00
build-test-packages.yml Adapt code to newer code style (linters) 2018-11-16 12:42:51 +00:00
cleanup-destructive.yml ansible-lint: removed skip of 206 2019-10-25 17:15:40 +01:00
collect-logs.yml Adapt code to newer code style (linters) 2018-11-16 12:42:51 +00:00
content-provider-containers.yml Move content provider plays to a seperate playbook 2020-10-27 14:58:49 +05:30
deploy-delete.yml Replace ansible include with import_playbook 2020-10-10 13:16:43 +00:00
deploy-standalone-compute.yml Refactor EDPM job 2023-01-11 11:48:54 +01:00
gate-quickstart.yml Add gate-quickstart role 2016-11-22 12:56:09 +00:00
multinode-minion.yml Replace ansible include with import_playbook 2020-10-10 13:16:43 +00:00
multinode-multiple-overcloud.yml Remove legacy tripleo-validations roles calls 2021-04-12 12:24:41 +02:00
multinode-overcloud-mixed-os-deploy-compute.yml Add logfile for compute container image prepare call mixed os job 2022-12-16 15:01:37 +00:00
multinode-overcloud-mixed-os-deploy-control.yml Tidy up ctrl logfile backup before compute deploy mixed OS job 2022-07-26 19:06:42 +03:00
multinode-overcloud-mixed-os-repos-compute.yml Adds toci playbooks and updates for new multinode mixed OS jobs 2022-07-20 12:25:52 +03:00
multinode-overcloud-prep.yml overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
multinode-overcloud-update.yml Adapt code to newer code style (linters) 2018-11-16 12:42:51 +00:00
multinode-overcloud-upgrade.yml overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
multinode-overcloud.yml Remove legacy tripleo-validations roles calls 2021-04-12 12:24:41 +02:00
multinode-standalone-ipa.yml Revert "Upgrade linters (ansible-lint v5)" 2021-03-12 17:50:42 +00:00
multinode-standalone-pre.yml Move build-test-packages as a part of undercloud setup 2021-08-10 03:43:13 +00:00
multinode-standalone-repoclosure.yml add feature to execute repoclosure 2021-04-09 15:00:58 -06:00
multinode-standalone-upgrade.yml Fix repo setup for multinode-standalone-upgrade 2021-10-26 09:50:10 -03:00
multinode-standalone.yml Add validation playbook in ovb.yml and make conditional import 2021-11-02 10:02:46 +01:00
multinode-undercloud-minion.yml Collect and output outputs/passwords files with old and new locations 2021-04-07 09:32:14 -04:00
multinode-undercloud-mixed-os.yml Adds toci playbooks and updates for new multinode mixed OS jobs 2022-07-20 12:25:52 +03:00
multinode-undercloud-upgrade.yml undercloud: Remove logic for unsupported old releases 2022-10-25 17:15:36 +09:00
multinode-undercloud.yml Include dependency vars on subnodes 2022-03-31 00:06:45 +00:00
multinode-validate.yml Deprecating validate-simple 2022-10-25 15:19:23 +02:00
multinode.yml Include validation.yml playbook in multinode.yml playbook 2021-10-19 07:21:38 +02:00
nodepool-setup.yml Adapt code to newer code style (linters) 2018-11-16 12:42:51 +00:00
ovb-create-stack.yml Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
ovb-delete-stack.yml Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
ovb-setup.yml Do not hard-code overcloud-full image name 2021-09-10 13:52:21 +12:00
ovb.yml Add validation playbook in ovb.yml and make conditional import 2021-11-02 10:02:46 +01:00
prepare-slave.yml Remove unnecessary yum calls 2020-03-03 13:29:21 +02:00
provision_multinodes.yml Adapt code to newer code style (linters) 2018-11-16 12:42:51 +00:00
quickstart-extras-overcloud-prep.yml Remove legacy tripleo-validations roles calls 2021-04-12 12:24:41 +02:00
quickstart-extras-overcloud.yml Remove legacy tripleo-validations roles calls 2021-04-12 12:24:41 +02:00
quickstart-extras-standalone.yml Revert "Upgrade linters (ansible-lint v5)" 2021-03-12 17:50:42 +00:00
quickstart-extras-undercloud.yml Remove legacy tripleo-validations roles calls 2021-04-12 12:24:41 +02:00
quickstart-extras-validate.yml Deprecating validate-simple 2022-10-25 15:19:23 +02:00
quickstart-extras.yml Replace ansible include with import_playbook 2020-10-10 13:16:43 +00:00
repo-setup.yml Adapt code to newer code style (linters) 2018-11-16 12:42:51 +00:00
scale_nodes_verify.yml Deprecating validate-simple 2022-10-25 15:19:23 +02:00
scale_nodes.yml Replace ansible include with import_playbook 2020-10-10 13:16:43 +00:00
snapshot-libvirt.yml Adapt code to newer code style (linters) 2018-11-16 12:42:51 +00:00
to-build-or-not-to-build.yml Revert "Upgrade linters (ansible-lint v5)" 2021-03-12 17:50:42 +00:00
tobiko.yml Add playbook and role to run tobiko 2019-11-08 07:31:06 +00:00
validations.yml Revert "Set default to empty string for Validation inventory variable" 2022-04-14 11:58:04 +00:00