Skip to content

Remove deployment of EFK stack on IDR systems #396

Remove deployment of EFK stack on IDR systems

Remove deployment of EFK stack on IDR systems #396

Workflow file for this run

---
name: Molecule
# yamllint disable-line rule:truthy
on:
push:
pull_request:
jobs:
list-scenarios:
runs-on: ubuntu-20.04
outputs:
matrix: ${{ steps.listscenarios.outputs.scenarios }}
steps:
- uses: actions/checkout@v3
- id: listscenarios
uses: ome/action-ansible-molecule-list-scenarios@main
with:
subdir: ansible
test:
name: Test
needs:
- list-scenarios
runs-on: ubuntu-20.04
strategy:
# Keep running so we can see if other tests pass
fail-fast: false
matrix:
scenario: ${{fromJson(needs.list-scenarios.outputs.matrix)}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install Ansible & Molecule
# TODO: review upgrade to Molecule 5.x
run: pip install "ansible<8" ansible-lint flake8 \
"molecule<5" "ansible-compat<4" molecule-plugins[docker] pytest-testinfra
- name: Run Molecule
run: cd ansible && molecule test -s "${{ matrix.scenario }}"