Mitigate Ansible bug for symlinks #847
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: Quay Management | |
on: | |
push: | |
paths: | |
- "ansible/**" | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: "0 3 * * *" | |
jobs: | |
quay-management: | |
name: "Quay Organization Management" | |
if: "github.repository == 'redhat-cop/org'" | |
# Manually downgrade runner version due to https://github.com/ansible/ansible/issues/81965 | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run ansible-lint | |
uses: ansible/ansible-lint-action@main | |
with: | |
path: "ansible/" | |
- name: Install Dependencies | |
run: ansible-galaxy install -r ansible/requirements.yml -p $HOME/roles | |
- name: Manage Quay Repository | |
if: github.event_name == 'push' || github.event_name == 'schedule' | |
env: | |
ANSIBLE_ROLES_PATH: '$HOME/roles/infra-ansible/roles/scm' | |
run: ansible-playbook -i ansible/inventory ansible/playbooks/quay_management.yml ${{secrets.ANSIBLE_EXTRA_VARS}} |