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

This commit is contained in:
Nicole Rappe
2024-01-22 22:59:19 -07:00
parent 321e8e888d
commit 39477b42a4

View File

@ -5,6 +5,7 @@ You already have this documented in Vaultwarden's password notes for awx.bunny-l
## Create Gitea Credentials ## Create Gitea Credentials
Before you make move on and make the project, you need to associate the Gitea token with an AWX "Credential". Navigate to **Resources > Projects > Add** Before you make move on and make the project, you need to associate the Gitea token with an AWX "Credential". Navigate to **Resources > Projects > Add**
| **Field** | **Value** | | **Field** | **Value** |
| :--- | :--- | | :--- | :--- |
| Credential Name | `git.bunny-lab.io` | | Credential Name | `git.bunny-lab.io` |
@ -18,6 +19,7 @@ Before you make move on and make the project, you need to associate the Gitea to
In order to link AWX to Gitea, you have to connect the two of them together with an AWX "Project". Navigate to **Resources > Credentials > Add** In order to link AWX to Gitea, you have to connect the two of them together with an AWX "Project". Navigate to **Resources > Credentials > Add**
**Project Variables**: **Project Variables**:
| **Field** | **Value** | | **Field** | **Value** |
| :--- | :--- | | :--- | :--- |
| Project Name | `Bunny-Lab` | | Project Name | `Bunny-Lab` |
@ -27,6 +29,7 @@ In order to link AWX to Gitea, you have to connect the two of them together with
| Source Control Type | `Git` | | Source Control Type | `Git` |
**Gitea-specific Variables**: **Gitea-specific Variables**:
| **Field** | **Value** | | **Field** | **Value** |
| :--- | :--- | | :--- | :--- |
| Source Control URL | `https://git.bunny-lab.io/GitOps/awx.bunny-lab.io.git` | | Source Control URL | `https://git.bunny-lab.io/GitOps/awx.bunny-lab.io.git` |
@ -35,6 +38,7 @@ In order to link AWX to Gitea, you have to connect the two of them together with
## 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**
| **Field** | **Value** | | **Field** | **Value** |
| :--- | :--- | | :--- | :--- |
| Inventory Name | `Homelab` | | Inventory Name | `Homelab` |
@ -43,6 +47,7 @@ You will want to associate an inventory with the Gitea project now. Navigate to
### Add Gitea Inventory Source ### Add Gitea Inventory Source
Now you will want to connect this inventory to the inventory file(s) hosted in the aforementioned Gitea repository. Navigate to **Resources > Inventories > Homelab > Sources > Add** Now you will want to connect this inventory to the inventory file(s) hosted in the aforementioned Gitea repository. Navigate to **Resources > Inventories > Homelab > Sources > Add**
| **Field** | **Value** | | **Field** | **Value** |
| :--- | :--- | | :--- | :--- |
| Source Name | `git.bunny-lab.io` | | Source Name | `git.bunny-lab.io` |