- docs/ci-cd/actions-inventory.md lists every `uses:` in the DevOps, Gaming and claude repos, which of those workflows run on this Gitea, and what needs a mirror (only actions/checkout today). - deployLibvirt.yaml: pin actions/checkout (v4.4.0) and dawidd6/action-ansible-playbook (v2.8.0) to commit SHAs. - Bump the gitea role for the same pin in its demo workflow. Refs #46 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 lines
655 B
YAML
23 lines
655 B
YAML
name: deployLibvirtGuests
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
|
|
|
- name: Install Ansible
|
|
run: |
|
|
apt update -y
|
|
apt install python3-pip -y
|
|
python3 -m pip install ansible
|
|
|
|
- name: Run playbook
|
|
uses: dawidd6/action-ansible-playbook@c97d71562fcba83cc1ea0602d5a77013427f7571 # v2.8.0
|
|
with:
|
|
playbook: libvirtGuests.yaml
|
|
key: ${{secrets.SSH_PRIVATE_KEY}}
|
|
vault_password: ${{secrets.VAULT_PASSWORD}}
|
|
options: |
|
|
--inventory inventories/eom.dev.yaml
|