feat: Ansible for hello world container in workflow

This commit is contained in:
Ditmar Visser
2025-06-06 10:47:06 +00:00
parent a04a62c68b
commit 1d77aaf488

View File

@ -62,22 +62,22 @@ jobs:
run: terraform apply -auto-approve run: terraform apply -auto-approve
# Ansible # Ansible
# - name: Set up SSH - name: Set up SSH
# run: | run: |
# echo "${{ secrets.AZURE_SSH_PRIVATE_KEY }}" > ~/.ssh/azure echo "${{ secrets.AZURE_SSH_PRIVATE_KEY }}" > ~/.ssh/azure
# chmod 600 ~/.ssh/azure chmod 600 ~/.ssh/azure
# echo "${{ secrets.SKYLAB_SSH_PRIVATE_KEY }}" > ~/.ssh/skylab # echo "${{ secrets.SKYLAB_SSH_PRIVATE_KEY }}" > ~/.ssh/skylab
# chmod 600 ~/.ssh/skylab # chmod 600 ~/.ssh/skylab
# - name: Install Ansible - name: Install Ansible
# shell: bash shell: bash
# run: | run: |
# sudo apt update sudo apt update
# sudo apt install -y ansible sudo apt install -y ansible
# - name: Run Ansible Playbook - name: Run Ansible Playbook
# env: env:
# ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }} ANSIBLE_USER: ${{ secrets.ANSIBLE_USER }}
# ANSIBLE_HOST_KEY_CHECKING: False ANSIBLE_HOST_KEY_CHECKING: False
# run: | run: |
# ansible-playbook -i ../ansible/inventory.ini ../ansible/main.yml ansible-playbook -i ../ansible/inventory.ini ../ansible/main.yml