diff --git a/.gitea/workflows/ansible-smoke.yml b/.gitea/workflows/ansible-smoke.yml new file mode 100644 index 0000000..f686087 --- /dev/null +++ b/.gitea/workflows/ansible-smoke.yml @@ -0,0 +1,24 @@ +name: ansible-smoke + +on: + workflow_dispatch: {} + push: + branches: [ "main" ] + +jobs: + smoke: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Install Ansible + run: | + python3 -m pip install --upgrade pip + pip install ansible + ansible --version + + - name: Ping inventory (optional) + run: | + ansible -i inventory/lan.yml all -m ping + env: + ANSIBLE_HOST_KEY_CHECKING: "False"