Ansible Molecule #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# | |
# Ansible managed | |
# | |
name: Ansible Molecule | |
on: | |
push: | |
tags_ignore: | |
- '*' | |
pull_request: | |
schedule: | |
- cron: '28 15 13 * *' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: molecule | |
uses: robertdebock/[email protected] | |
with: | |
command: lint | |
test: | |
needs: | |
- lint | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
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/[email protected] | |
with: | |
options: "--parallel all" | |
env: | |
TOX_PARALLEL_NO_SPINNER: 1 |