fixup! fixup! fixup! Implement ansible-lint workflow
All checks were successful
Check / Lint Ansible Files (push) Successful in 1m43s
Check / Run ansible-playbook --check (push) Successful in 18s
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul Brinkmeier 2023-09-01 02:48:22 +02:00
parent 269a50274d
commit f0284c3b44

View File

@ -1,10 +1,9 @@
name: Lint Ansible files
name: Check
on: [push]
jobs:
lint-ansible-files:
"Lint Ansible Files":
runs-on: ubuntu-22.04
steps:
- run: "echo ${{ secrets.secretsecret }}"
- run: apt-get update
- run: apt-get install -y python3 python3-pip python3-venv
- run: python3 --version
@ -13,3 +12,11 @@ jobs:
- run: python3 -m venv venv
- run: venv/bin/pip --disable-pip-version-check install ansible==7.2.0 ansible-lint==6.16.1 > /dev/null 2> /dev/null
- run: venv/bin/ansible-lint -c .ansible-lint ansible
"Run ansible-playbook --check":
runs-on: ubuntu-22.04
steps:
- run: apt-get update
- run: apt-get install -y python3 python3-pip python3-venv
- run: python3 --version
- name: Check out repo
uses: actions/checkout@v3