Skip to content

ansible 8 tox.

ansible 8 tox. #340

Workflow file for this run

---
#
# Ansible managed
#
name: Ansible Molecule
on:
push:
branches:
- master
- main
- testing
paths-ignore:
- '**/README.md'
- '**/CHANGELOG.md'
tags_ignore:
- '*'
pull_request:
schedule:
- cron: '21 11 11 * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: ansible-lint
uses: ansible-community/ansible-lint-action@main
test:
needs:
- lint
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
config:
- image: "alpine-openrc"
tag: "latest"
- image: "enterpriselinux"
tag: "8"
- image: "debian-systemd"
tag: "latest"
- image: "debian-systemd"
tag: "bullseye"
- image: "fedora-systemd"
tag: "37"
- image: "fedora-systemd"
tag: "latest"
- image: "docker-opensuse-systemd"
tag: "latest"
- image: "docker-ubuntu-systemd"
tag: "latest"
- image: "docker-ubuntu-systemd"
tag: "focal"
- image: "docker-ubuntu-systemd"
tag: "bionic"
- image: "docker-ubuntu-systemd"
tag: "lunar"
steps:
- name: checkout
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
# - name: disable apparmor for mysql
# run: sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
# - name: parse apparmor for mysql
# run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- name: molecule
uses: buluma/[email protected]
with:
image: ${{ matrix.config.image }}
tag: ${{ matrix.config.tag }}