ansible-playbooks/playbookconfig/src/playbooks/roles/bootstrap/validate-config
Yuxing Jiang 440a895f95 Create subcloud enroll playbook
In this commit:
- Add a skeleton playbook for subcloud enrollment. Roles implementation
  will be incrementally added. The initial version of the playbook
  only prepares the enrollment values and validates the factory
  installed subcloud.
- Move tasks that can be shared betwen enroll and rehome playbooks to
  rehome-enroll-common role.
- Add docker proxy values to host vars of the rehome playbook. This
  will be used to update the docker proxy and no proxy list for
  non-simplex subclouds. The handling of this configuration for rehome
  playbook will be done in the same commit as for enroll playbook.

Test plan:

Passed - verify the subcloud enroll playbook:
1. Bring up a factory installed AIOSX and a distributed cloud with this
commit.
2. Use the "dcmanager subcloud deploy create" with bootstrap values in
the system controller to create the subcloud's overrides and inventory.
The subcloud overrides and inventory are under:
/var/rootdirs/opt/dc-vault/ansible/.
3. Verfied this playbook finishes successfully against the
subcloud.

Passed - bootstrap a DC with an AIOSX subcloud:
1. Verfied fresh deployment of a distributed cloud with an AIOSX
subcloud.

Passed - rehome subclouds to a DC
1. Verified the SX subcloud rehoming succeeded with this change.
2. Verified the DX subcloud rehoming succeeded with this change,
verified the docker no proxy list with the oam address of node_1.

Story: 2011100
Task: 49977
Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>
Change-Id: I7842dd35777f17f4b6686c5a35d3eafac4b546ae
2024-05-22 10:56:10 -04:00
..
files Update host record validation during bootstrap 2024-01-29 23:19:30 -05:00
meta Restructure Ansible playbooks repo 2019-09-17 16:11:35 -04:00
tasks Create subcloud enroll playbook 2024-05-22 10:56:10 -04:00
vars Create subcloud enroll playbook 2024-05-22 10:56:10 -04:00