Skip to content

Remote and podman utility automation code #56

Remote and podman utility automation code

Remote and podman utility automation code #56

Workflow file for this run

name: Ansible Lint
on:
pull_request:
branches:
- automation
jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Ansible and Ansible Lint
run: |
python -m pip install --upgrade pip
pip install ansible
- name: Install Ansible Collections from requirements.yml
run: |
ansible-galaxy collection install -r .config/requirements.yml --force
- name: Run ansible-lint
uses: ansible/ansible-lint@main
with:
args: --config=.config/ansible-lint.yml