Merge pull request #414 from stackhpc/add-interns #1114
This file contains hidden or 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: Ansible Validations | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
ANSIBLE_FORCE_COLOR: true | |
ANSIBLE_VAULT_PASSWORD_FILE: ${{ github.workspace }}/vault-pass | |
jobs: | |
ansible-validations: | |
name: Ansible Validations | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Release Train & dependencies | |
uses: ./.github/actions/setup | |
with: | |
vault-password: ${{ secrets.ANSIBLE_VAULT_PASSWORD }} | |
vault-password-file: ${{ env.ANSIBLE_VAULT_PASSWORD_FILE }} | |
- name: Run Ansible validations | |
run: | | |
ansible-playbook -i ansible/inventory \ | |
ansible/validate-*.yml |