Skip to content

Ubuntu security updates component #3

Ubuntu security updates component

Ubuntu security updates component #3

Workflow file for this run

---
name: Molecule
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
provide_scenarios:
runs-on: ubuntu-latest
steps:

Check failure on line 15 in .github/workflows/molecule.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/molecule.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
- name: Checkout
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- name: Get changed files
id: changed-files-yaml
uses: tj-actions/changed-files@v39
with:
files_yaml: |
playbooks:
- 'playbooks/*.yml'
roles:
- 'playbooks/roles/**/**'
- name: Debug
run: echo ${{ steps.changed-files-yaml.outputs.all_changed_files }}
outputs:
matrix: ${{ steps.changed-files-yaml.outputs.all_changed_files }}
molecule:
needs: provide_scenarios
strategy:
fail-fast: false
matrix:
scenario: ${{ fromJson(needs.provide_scenarios.outputs.matrix) }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- name: Molecule tests for playbooks
uses: gofrolist/molecule-action@v2
with:
molecule_command: test
molecule_args: --scenario-name ${{ matrix.scenario }}
env:
ANSIBLE_FORCE_COLOR: '1'