Skip to content

Release

Release #2

Workflow file for this run

---
name: Release
on:
workflow_run:
workflows: ["Hayaworld Ansible Jobs"]
types:
- completed
jobs:
Ansible-rui-dns:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare environments (ansible-galaxy)
run: |
ansible-galaxy install -r requirements.yml
- name: "ansible-playbook -C --tags dnsmasq rui.yml"
run: |
ansible-playbook \
-i inventories \
-C \
--tags dnsmasq \
--ssh-extra-args='-o StrictHostKeyChecking=no' \
--extra-vars "ansible_sudo_pass=${{ secrets.SUDO }}" \
rui.yml