Update Containers/Kubernetes/Rancher RKE2/AWX Operator/Connect AWX to Gitea.md

This commit is contained in:
Nicole Rappe
2024-01-22 23:19:18 -07:00
parent e9cb31cfbe
commit 7d34b1323c

View File

@ -36,6 +36,9 @@ In order to link AWX to Gitea, you have to connect the two of them together with
| Source Control Branch/Tag/Commit | `main` | | Source Control Branch/Tag/Commit | `main` |
| Source Control Credential | `git.bunny-lab.io` *(Click the Magnifying Lens)* | | Source Control Credential | `git.bunny-lab.io` *(Click the Magnifying Lens)* |
## Add Playbooks
AWX automatically imports any playbooks it finds from the project, and makes them available for templates operating within the same project-space. (e.g. "Bunny-Lab"). This means no special configuration is needed for the playbooks.
## Create an Inventory ## Create an Inventory
You will want to associate an inventory with the Gitea project now. Navigate to **Resources > Inventories > Add** You will want to associate an inventory with the Gitea project now. Navigate to **Resources > Inventories > Add**
@ -55,7 +58,7 @@ Now you will want to connect this inventory to the inventory file(s) hosted in t
| Execution Environment | `AWX EE (latest)` *(Click the Magnifying Lens)* | | Execution Environment | `AWX EE (latest)` *(Click the Magnifying Lens)* |
| Source | `Sourced from a Project` | | Source | `Sourced from a Project` |
| Project | `Bunny-Lab` | | Project | `Bunny-Lab` |
| Inventory File | `inventories/homelab.yaml` | | Inventory File | `inventories/homelab.ini` |
Check the box at the bottom named "**Update on Launch**". This will pull the latest inventory each time a job is run. It may slightly slow down jobs, but it ensures that everything is updated every time a job is ran. Check the box at the bottom named "**Update on Launch**". This will pull the latest inventory each time a job is run. It may slightly slow down jobs, but it ensures that everything is updated every time a job is ran.