lavet nogle små rettelser og tilføjet ansible vault til hemmelige ting :-)

This commit is contained in:
Mikkel Harboe Arp Henriksen
2025-06-13 18:30:14 +02:00
parent 986a86ee50
commit 41f25e2231
2 changed files with 16 additions and 2 deletions

View File

@@ -13,6 +13,10 @@ fi
echo ">>> Opdaterer systemet og installerer Git og Ansible..."
pacman -Syu --noconfirm git ansible
# Installerer ansible collectionen kewlfft.aur
echo ">>> Installerer Ansible collection for AUR (kewlfft.aur)..."
ansible-galaxy collection install kewlfft.aur
# Klon dit repository (ERSTAT MED DIN REPOSITORY URL)
REPO_URL="https://github.com/dit-brugernavn/dit-repo.git"
DEST="/opt/ansible-desktop"
@@ -29,6 +33,6 @@ fi
# Kør Ansible Playbook
echo ">>> Kører Ansible Playbook. Dette kan tage noget tid..."
cd "$DEST"
ansible-pull -U "$REPO_URL" -d "$DEST" local.yml
ansible-pull -U "$REPO_URL" -d "$DEST" local.yml --ask-vault-pass
echo ">>> Færdig! Genstart systemet for at se ændringerne."