Update Configs & Servers/Linux/privacyIDEA.md

This commit is contained in:
Nicole Rappe
2024-01-26 00:47:53 -07:00
parent 5767c8e640
commit 1233d3d752

View File

@ -5,6 +5,7 @@
## Add Server to Inventory and Pull Inventory/Playbook Updates from Gitea ## Add Server to Inventory and Pull Inventory/Playbook Updates from Gitea
You need to target the new server using a template in AWX (preferrably). You need to target the new server using a template in AWX (preferrably).
- We will assume the FQDN of the server is `auth.bunny-lab.io` or just `auth` - We will assume the FQDN of the server is `auth.bunny-lab.io` or just `auth`
- Be sure to add the host into the [AWX Homelab Inventory File](https://git.bunny-lab.io/GitOps/awx.bunny-lab.io/src/branch/main/inventories/homelab.ini) - Be sure to add the host into the [AWX Homelab Inventory File](https://git.bunny-lab.io/GitOps/awx.bunny-lab.io/src/branch/main/inventories/homelab.ini)
- Update / Sync the "**Bunny-Lab**" project in AWX ([Resources > Projects > Bunny-Lab > Sync](https://awx.bunny-lab.io/#/projects/8/details)) - Update / Sync the "**Bunny-Lab**" project in AWX ([Resources > Projects > Bunny-Lab > Sync](https://awx.bunny-lab.io/#/projects/8/details))
@ -12,6 +13,7 @@ You need to target the new server using a template in AWX (preferrably).
## Create a template ## Create a template
Next, you want to make a template to automate the deployment of privacyIDEA on any servers that are members of the `[privacyideaServers]` inventory host group. This is useful for development / testing, as well as rapid re-deployment / scaling. Next, you want to make a template to automate the deployment of privacyIDEA on any servers that are members of the `[privacyideaServers]` inventory host group. This is useful for development / testing, as well as rapid re-deployment / scaling.
- Navigate to **Resources > Templates > Add** - Navigate to **Resources > Templates > Add**
| **Field** | **Value** | | **Field** | **Value** |
@ -25,11 +27,13 @@ Next, you want to make a template to automate the deployment of privacyIDEA on a
| Credentials | `SSH: (LINUX) nicole` | | Credentials | `SSH: (LINUX) nicole` |
**Options**: **Options**:
- [X] Privilege Escalation: Checked - [X] Privilege Escalation: Checked
- [X] Enable Fact Storage: Checked - [X] Enable Fact Storage: Checked
## Launch the Template ## Launch the Template
Now we need to launch the template. Assuming all of the above was completed, we can now deploy the playbook/template against the Ubuntu Server via SSH. Now we need to launch the template. Assuming all of the above was completed, we can now deploy the playbook/template against the Ubuntu Server via SSH.
- Launch the Template (Rocket Button) - Launch the Template (Rocket Button)
- As the template runs, you will see deployment progress output on the screen - As the template runs, you will see deployment progress output on the screen