Skip to content

Updates for modern ansible #19

Updates for modern ansible

Updates for modern ansible #19

Workflow file for this run

---
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: '5 4 */14 * *' # Twice / month, at 4:05 AM.
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/[email protected]
with:
command: lint
test:
needs:
- lint
runs-on: ubuntu-latest
strategy:
matrix:
config:
- image: "ubuntu"
tag: "latest" # latest == noble, as of this writing.
- image: "ubuntu"
tag: "jammy"
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/[email protected]
with:
image: ${{ matrix.config.image }}
tag: ${{ matrix.config.tag }}