You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
. *Retrieve Admin Credentials*: The first part of the script, located https://github.com/validatedpatterns/ansible-edge-gitops/blob/main/ansible/ansible_get_credentials.yml[here], retrieves the admin credentials from OpenShift. These credentials are required to log in to the Ansible Automation Platform (AAP) Controller.
76
-
77
-
. *Configure AAP Controller*: The second part, which constitutes the bulk of the ansible-load-controller process, is located
78
-
https://github.com/validatedpatterns/ansible-edge-gitops/blob/main/ansible/ansible_configure_controller.yml[here]. It uses the https://github.com/redhat-cop/controller_configuration[controller configuration] framework to configure the AAP instance installed by the Helm chart.
79
-
80
-
The script is divided into two parts to make it more adaptable for users who may be running AAP on platforms other than OpenShift. This modular approach allows for easier customization and reuse.
81
-
82
-
The script waits until AAP is ready, and then proceeds to:
83
-
84
-
. Install the manifest to entitle AAP
85
-
. Configure the custom credential types the demo needs
86
-
. Define an organization for the Demo
87
-
. Add a project for the Demo
88
-
. Add the credentials for jobs to use
89
-
. Configure host inventory and inventory sources, and smart inventories to define target hosts
90
-
. Configure the execution environment for the demo
91
-
. Set up job templates required for the demo
92
-
. Define schedules for jobs that need to run repeatedly
93
-
+
94
-
[NOTE]
95
-
====
96
-
The script has defaults that are overridden when run as part of make install. These defaults are derived from the environment, including the repository and branch it is attached to. If you need to re-run the script, the most straightforward way is to use `make upgrade` when following the make-based installation process.
97
-
====
73
+
Key components of the configuration process:
74
+
75
+
* *Retrieving AAP Credentials*: The script runs the `ansible_get_credentials.yml` playbook to obtain necessary credentials for accessing and managing the AAP instance.
76
+
77
+
* *Parsing Secrets*: It then executes the `parse_secrets_from_values_secret.yml` playbook to extract and process sensitive information stored in the `values_secret.yaml` file, which includes passwords, tokens, or other confidential data required for configuration.
78
+
79
+
* *Configuring the AAP Instance*: Finally, the script runs the `ansible_configure_controller.yml` playbook to set up and configure the AAP controller based on the retrieved credentials and parsed secrets.
0 commit comments