Skip to content

fix ansible when no profile configure is given #2649

fix ansible when no profile configure is given

fix ansible when no profile configure is given #2649

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"