This commit is contained in:
tomas.limpinho
2025-10-12 11:55:56 +01:00
parent c05033cdc8
commit 1d6d1bea7a
7 changed files with 114 additions and 0 deletions

View File

@ -0,0 +1,23 @@
name: IAC
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
hello:
runs-on: ubuntu-latest
steps:
- name: Cloning ansible repository
uses: actions/checkout@v4
with:
path: ansible/iac
- name: Install Ansible
run: sudo apt-get install -y ansible
- name: Run Ansible Playbook
working-directory: ansible/
run: |
ansible-playbook -i inventory.ini playbook.yml