Release #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |