CLDR-17288 vagrant/ansible: fix for openliberty / mysql #4221
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: Ansible Lint | |
on: | |
push: | |
paths: | |
- 'tools/scripts/ansible/**' | |
- '.github/workflows/ansible-lint.yml' | |
pull_request: | |
paths: | |
- 'tools/scripts/ansible/**' | |
- '.github/workflows/ansible-lint.yml' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: false # not needed for this job, as we don’t currently do a Java build | |
- name: Lint Ansible Playbook | |
# the hash here is a specific version of that repo | |
uses: ansible/ansible-lint-action@c00ea1b2ac047eaf7318275ac83a0cb846cea71a | |
with: | |
targets: tools/scripts/ansible/*-playbook.yml | |
override-deps: | | |
rich>=9.5.1,<11.0.0 | |
testprovision: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: false # not needed for this job, as we don’t currently do a Java build | |
- name: Install Vagrant and Ansible | |
run: brew install ansible | |
- name: Prepare the provision | |
run: (cd tools/scripts/ansible && ansible-galaxy install -r requirements.yml && ln -sv test-local-vars local-vars && vagrant validate) | |
- name: Try the provision | |
run: (cd tools/scripts/ansible && vagrant up || (echo 'ERROR this usually fails but we are ignoring the failure. Try it manually.' ; true)) | |
env: | |
VAGRANT_DISABLE_VBOXSYMLINKCREATE: 1 | |
# one at a time please | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |