Skip to content

deps: bump ansible-lint from 26.1.0 to 26.1.1 #39

deps: bump ansible-lint from 26.1.0 to 26.1.1

deps: bump ansible-lint from 26.1.0 to 26.1.1 #39

Workflow file for this run

name: workflow
on:
pull_request:
jobs:
lint:
name: Lint Ansible Playbook
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python environment
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run ansible-lint
run: ansible-lint local.yml
test:
name: Ansible Playbook Test
runs-on: ubuntu-latest
needs: lint
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python environment
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Ansible Playbook
run: ansible-playbook local.yml