Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Test and Ansible 8 AND 9. #193

Test and Ansible 8 AND 9.

Test and Ansible 8 AND 9. #193

Workflow file for this run

---
#
# Ansible managed
#
name: Ansible Molecule
on:
push:
tags_ignore:
- '*'
pull_request:
schedule:
- cron: '25 13 13 * *'
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v3
- 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: "amazonlinux"
tag: "latest"
- image: "enterpriselinux"
tag: "7"
steps:
- name: checkout
uses: actions/checkout@v3
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: robertdebock/molecule-action@6.0.1
with:
image: ${{ matrix.config.image }}
tag: ${{ matrix.config.tag }}