tripleo-quickstart-extras/roles
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
..
baremetal-prep-overcloud overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
baremetal-prep-virthost collect only specific network facts 2022-04-26 15:47:28 +05:30
baremetal-undercloud Prevent jobs timeouts when running playbook on localhost 2021-02-01 10:32:42 +00:00
build-images Skip centos.repo setup for C8 2022-12-30 19:04:30 +05:30
build-test-packages Revert "Pin rdopkg to 1.4.0" 2022-10-19 15:34:41 +00:00
check-to-build-or-not-to-build Always build images in component jobs 2020-06-02 08:20:31 -04:00
container-build Do not use --debug for image build 2022-11-17 18:09:59 +09:00
container-prep Make sure container_build_id is removed before writing new one 2021-12-16 20:59:26 -03:30
container-update undercloud: Remove logic for unsupported old releases 2022-10-25 17:15:36 +09:00
create-zuul-based-reproducer Moving IRC network reference to OFTC 2021-07-08 14:44:17 +00:00
discover-latest-image Add role to discover Centos latest images 2022-06-20 16:10:38 +05:30
dump_vars Make sure dump_vars_log_dir dir exists 2020-09-21 17:24:06 +05:30
external_data_plane_management Refactor EDPM job 2023-01-11 11:48:54 +01:00
extras-common undercloud: Remove logic for unsupported old releases 2022-10-25 17:15:36 +09:00
freeipa-setup Modify IPA install and usage for multi-env 2022-11-03 06:49:31 -04:00
gate-quickstart Fix jenkins ssl issue 2021-10-06 13:25:34 +05:30
install-built-repo Exclude kernel from dnf update 2022-09-16 11:03:37 +05:30
ipa-multinode Revert "Temporarily freeze openssl" 2022-06-16 22:03:03 +00:00
modify-image Add modify_image_run_command var to modify-image role 2022-12-29 20:48:05 +05:30
multinodes ansible-lint: resolved 4 skips 2020-01-18 09:50:41 +00:00
nodepool-setup Move build-test-packages as a part of undercloud setup 2021-08-10 03:43:13 +00:00
octavia-amphora-download Allow full path to be specified for amphora destination 2020-03-06 10:53:50 -03:30
ovb-manage-stack Stop using os_stack module 2022-10-10 12:10:16 +05:30
overcloud-delete Correct overcloud delete fail condition 2021-09-21 16:28:34 +05:30
overcloud-deploy Omit --deployed-server in master 2022-11-10 12:50:19 +00:00
overcloud-network-discovery run netstat port audit 2020-11-16 15:14:51 +00:00
overcloud-prep-config overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
overcloud-prep-containers overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
overcloud-prep-flavors Run flavor prep tasks only when nova is enabled 2020-09-09 10:52:21 +05:30
overcloud-prep-images overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
overcloud-prep-network overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
overcloud-scale overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
overcloud-ssl overcloud: Remove logic for unsupported old releases 2022-10-25 16:32:53 +09:00
repoclosure Remove tripleo packages from repoclosure exception 2021-05-11 12:53:01 -06:00
set-libvirt-type ansible-lint: resolved 4 skips 2020-01-18 09:50:41 +00:00
snapshot-libvirt Specify backing format for restoring images 2021-12-14 15:30:23 +01:00
standalone Remove quotation marks from set statements in standalone_config template 2022-10-06 14:01:14 +02:00
standalone-upgrade Added some train2wallaby needed parameters 2022-11-04 09:39:03 +01:00
tht-prep-config lint: fixed ansible-lint 301 rule 2020-01-05 19:37:09 +00:00
undercloud-deploy undercloud: Remove logic for unsupported old releases 2022-10-25 17:15:36 +09:00
undercloud-minion-deploy Revert "Enable ConfigDebug for undercloud deployments" 2020-04-09 18:25:29 +00:00
undercloud-setup undercloud: Remove logic for unsupported old releases 2022-10-25 17:15:36 +09:00
validate-ipmi lint: enabled whitespace fixes 2020-01-05 14:07:37 +00:00
validate-minion lint: fixed ansible-lint 301 rule 2020-01-05 19:37:09 +00:00
validate-perf Run dstat on overcloud nodes 2022-06-20 13:06:28 +05:30
validate-sanity-checks Merge "lint: enabled whitespace fixes" 2020-01-11 21:29:34 +00:00
validate-services/tasks lint: fixed ansible-lint 301 rule 2020-01-05 19:37:09 +00:00
validate-simple Update to Cirros 0.5.2 ahead of switching to the q35 machine type 2021-04-09 09:04:05 +01:00
validate-tempest python-tempestconf moved from osf/ to openinfra 2021-10-18 11:04:00 +00:00
validate-tobiko ansible-lint: resolved 4 skips 2020-01-18 09:50:41 +00:00
validate-ui lint: fixed ansible-lint 301 rule 2020-01-05 19:37:09 +00:00
validate-undercloud Output a correct value in the log 2022-09-19 14:40:15 +02:00
virthost-full-cleanup Fix typo from sdtout to stdout 2022-06-27 22:10:20 +05:30