Skip to content

Merge pull request #627 from vitessio/admin-pr-exec #2694

Merge pull request #627 from vitessio/admin-pr-exec

Merge pull request #627 from vitessio/admin-pr-exec #2694

Workflow file for this run

name: Ansible Lint
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10.9'
- name: Update pip
run: |
python -m pip install --upgrade pip
- name: Set up virtualenv
run: |
pip3 install virtualenv
virtualenv --python=python${{ matrix.python-version }} benchmark
source benchmark/bin/activate
pip install -r requirements.txt
- name: Install ansible dependencies
run: |
source benchmark/bin/activate
ansible-galaxy install cloudalchemy.node_exporter
ansible-galaxy install cloudalchemy.prometheus
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@main
with:
path: ansible/
override-deps: |
ansible==2.10.7
ansible-lint==4.3.7
args: "-x 301,302,303,305,306,204,208"