From f85b4c8d094bf30a3fd0d3a9028aefa33393befd Mon Sep 17 00:00:00 2001 From: Michael Buluma Date: Sat, 18 Nov 2023 17:43:21 +0300 Subject: [PATCH] Generated Ansible files --- .github/ISSUE_TEMPLATE/bug_report.md | 3 +-- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .github/workflows/molecule.yml | 11 +++++++---- README.md | 2 +- requirements.txt | 5 ++--- tox.ini | 5 ++++- 6 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 01ce68e..528b917 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -4,7 +4,7 @@ about: Create a report to help me improve --- -## Describe the bug +# Describe the bug A clear and concise description of what the bug is. @@ -13,7 +13,6 @@ A clear and concise description of what the bug is. Please paste the playbook you are using. (Consider `requirements.yml` and optionally the command you've invoked.) - ```yaml --- YOUR PLAYBOOK HERE diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 83e7a9f..c73a160 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -4,7 +4,7 @@ about: Suggest an idea for this project --- -## Proposed feature +# Proposed feature A clear and concise description of what you want to happen. diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 099cfd2..1e57478 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -20,6 +20,9 @@ on: schedule: - cron: '19 10 10 * *' + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -53,10 +56,10 @@ jobs: 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: 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/molecule-action@v5.1.1 with: diff --git a/README.md b/README.md index caf8fcd..7a21607 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# [jenkins](#jenkins) +# [Ansible role jenkins](#jenkins) Install and configure jenkins on your system. diff --git a/requirements.txt b/requirements.txt index 09b3a84..8c938d8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ -# Pinning ansible-compat version due to [bug](https://github.com/ansible-community/molecule/issues/3903) -ansible-compat == 3.0.2 -molecule == 5.* +ansible-compat == 4.* +molecule == 6.* molecule-plugins[docker] == 23.* ansible-lint == 6.* paramiko == 3.* diff --git a/tox.ini b/tox.ini index 699c9eb..52387a8 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,10 @@ # [tox] minversion = 4.2.4 -envlist = py3-ansible{6,7,8} +# Ansible 6 and 7 are disabled, causing issues with Fedora: +# https://github.com/ansible/ansible/issues/81199#event-9773321055 +# envlist = py3-ansible{6,7,8} +envlist = py3-ansible{8} skipsdist = true