Skip to content

packer-rocm/amdgpu_install/vars: cover 'libyaml' #98

packer-rocm/amdgpu_install/vars: cover 'libyaml'

packer-rocm/amdgpu_install/vars: cover 'libyaml' #98

Workflow file for this run

---
name: Lint 'packer-rocm'
on:
push:
paths:
- 'packer-rocm/**'
pull_request:
paths:
- 'packer-rocm/**'
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: true
- name: Setup Python
uses: actions/[email protected]
with:
python-version: "3.x"
cache: 'pip'
- name: Cache Ansible Collections
uses: actions/cache@v4
with:
path: ~/.ansible/collections
key: ansible-collections-${{ hashFiles('packer-rocm/requirements.yml') }}
- name: Install Ansible and Collections
run: |
pip install --no-compile ansible-core ansible-lint
ansible-galaxy collection install -r packer-rocm/requirements.yml
- name: ansible-lint
run: |
ansible-lint --profile production --parseable --nocolor packer-rocm/
# Not yet validating HCL, challenge:
# Many out-of-place references to 'packer-maas' until playbook-run; Packer is strict
#
# - name: Setup `packer`
# uses: hashicorp/[email protected]
# id: setup
# with:
# version: "latest"