inventory: Update azure x64 dockerhost to ubuntu 2404 and update DockerInventory.json #3399
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: Linter | |
on: | |
pull_request: | |
paths: | |
- ansible/** | |
- .ansible-lint | |
branches: | |
- master | |
push: | |
paths: | |
- ansible/** | |
branches: | |
- master | |
permissions: | |
contents: read | |
jobs: | |
yamllint: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
pull-requests: write # for karancode/yamllint-github-action to post comments on PRs | |
name: Yamllint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: 'Yamllint' | |
uses: karancode/yamllint-github-action@fdef6bc189425ecc84cc4543b2674566c0827053 # v2.1.1 | |
with: | |
yamllint_comment: true | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ansible_lint: | |
name: Ansible Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: pip install ansible ansible-lint | |
- name: ansible_lint | |
run: | | |
# Ansible code static analysis | |
ansible-lint | |
cd ansible | |
# Check that the inventory is valid | |
ansible-inventory --host build-marist-rhel79-s390x-1 | |
# Check Playbook syntax. | |
ansible-playbook playbooks/AdoptOpenJDK_Unix_Playbook/main.yml --syntax-check | |
ansible-playbook playbooks/AdoptOpenJDK_Unix_Playbook/trss.yml --syntax-check | |
ansible-playbook playbooks/AdoptOpenJDK_AIX_Playbook/main.yml --syntax-check | |
ansible-playbook playbooks/AdoptOpenJDK_Windows_Playbook/main.yml --syntax-check | |
ansible-playbook playbooks/AdoptOpenJDK_Unix_Playbook/ubuntu-jckservices.yml --syntax-check | |
ansible-playbook playbooks/vagrant.yml --syntax-check | |
ansible-playbook playbooks/ubuntu-jck.yml --syntax-check |