From 68bdea31fa464ec47e950d52b5a67b0c416d453d Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Mon, 11 Oct 2021 08:53:47 +0200 Subject: [PATCH] Introduce ansible-later. --- files/later.yml | 12 ++++++++++++ generate.yml | 2 ++ templates/gitlab-ci.yml.j2 | 2 +- templates/molecule-action.yml.j2 | 4 ++-- templates/molecule.yml.j2 | 1 + 5 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 files/later.yml diff --git a/files/later.yml b/files/later.yml new file mode 100644 index 0000000..83b9158 --- /dev/null +++ b/files/later.yml @@ -0,0 +1,12 @@ +--- +rules: + version: "0.2" + exclude_files: + - meta/argument_specs.yml + - meta/exception.yml + - meta/preferences.yml + - meta/version.yml + - requirements.txt + exclude_filter: + - LINT0009 + - ANSIBLE0007 diff --git a/generate.yml b/generate.yml index 0e88e2e..bfadae4 100755 --- a/generate.yml +++ b/generate.yml @@ -147,6 +147,8 @@ dest: .github/FUNDING.yml - source: pre-commit-config.yaml dest: .pre-commit-config.yaml + - source: later.yml + dest: .later.yml loop_control: label: "{{ item.source }}" diff --git a/templates/gitlab-ci.yml.j2 b/templates/gitlab-ci.yml.j2 index 7da8918..77bde78 100644 --- a/templates/gitlab-ci.yml.j2 +++ b/templates/gitlab-ci.yml.j2 @@ -1,5 +1,5 @@ --- -image: robertdebock/github-action-molecule:3.0.6 +image: robertdebock/github-action-molecule:3.3.0 services: - docker:dind diff --git a/templates/molecule-action.yml.j2 b/templates/molecule-action.yml.j2 index 4706393..d27de08 100644 --- a/templates/molecule-action.yml.j2 +++ b/templates/molecule-action.yml.j2 @@ -21,7 +21,7 @@ jobs: path: {% raw %}"${{ github.repository }}"{% endraw %} - name: molecule - uses: robertdebock/molecule-action@2.6.16 + uses: robertdebock/molecule-action@2.7.0 with: command: lint test: @@ -51,7 +51,7 @@ jobs: - name: parse apparmor for mysql run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld - name: molecule - uses: robertdebock/molecule-action@2.6.16 + uses: robertdebock/molecule-action@2.7.0 with: image: {% raw %}${{ matrix.config.image }}{% endraw %} diff --git a/templates/molecule.yml.j2 b/templates/molecule.yml.j2 index 5e69912..6cb4fd8 100644 --- a/templates/molecule.yml.j2 +++ b/templates/molecule.yml.j2 @@ -8,6 +8,7 @@ lint: | set -e yamllint . ansible-lint + ansible-later driver: name: docker platforms: