Files
scripts/.gitea/workflows/pingflow.yaml
Matan Horovitz 1121ef6db8
All checks were successful
Ansible Deploy / deploy (push) Successful in 54s
Trying Ansible actions
2023-11-17 23:25:05 +02:00

29 lines
522 B
YAML

name: Ansible Deploy
on:
push:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
#uses: actions/setup-python@v4
run: |
apt -y update
apt -y install python3 python3-pip
- name: Install Ansible
run: |
python3 -m pip install --upgrade pip
pip install ansible
- name: Run Ansible Playbook
run: |
ansible-playbook -i inventory.yml ping.yaml