Skip to content

Commit 3c14c12

Browse files
committed
updating customize section 8
1 parent d6ccda3 commit 3c14c12

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

content/patterns/ansible-edge-gitops/installation-details.adoc

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -70,31 +70,13 @@ Re-running the script will update the secrets in Vault if there have been change
7070

7171
==== https://github.com/validatedpatterns/ansible-edge-gitops/blob/main/scripts/ansible_load_controller.sh[configure-controller]
7272

73-
This script is divided into two main parts:
74-
75-
. *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.
9880

9981
== OpenShift GitOps (ArgoCD)
10082

0 commit comments

Comments
 (0)