Some checks reported warnings
Check / Lint Ansible Files (push) Has been cancelled
17 lines
571 B
YAML
17 lines
571 B
YAML
name: Check
|
|
on: [push]
|
|
jobs:
|
|
"Lint Ansible Files":
|
|
runs-on: node-22-bullseye
|
|
steps:
|
|
- run: apt-get update
|
|
- run: apt-get upgrade -y
|
|
- run: apt-get install -y python3 python3-pip python3-venv
|
|
- run: python3 --version
|
|
- name: Check out repo
|
|
uses: actions/checkout@v3
|
|
- run: python3 -m venv venv
|
|
- run: venv/bin/python3 -m pip --disable-pip-version-check install ansible ansible-lint
|
|
- run: venv/bin/ansible-lint -c .ansible-lint ansible
|
|
# TODO: Reimplement ansible-play --check step from old drone config
|