Introduce ansible-later.

This commit is contained in:
Robert de Bock 2021-10-11 08:53:47 +02:00
parent 213cfbdebd
commit 68bdea31fa
5 changed files with 18 additions and 3 deletions

12
files/later.yml Normal file
View File

@ -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

View File

@ -147,6 +147,8 @@
dest: .github/FUNDING.yml dest: .github/FUNDING.yml
- source: pre-commit-config.yaml - source: pre-commit-config.yaml
dest: .pre-commit-config.yaml dest: .pre-commit-config.yaml
- source: later.yml
dest: .later.yml
loop_control: loop_control:
label: "{{ item.source }}" label: "{{ item.source }}"

View File

@ -1,5 +1,5 @@
--- ---
image: robertdebock/github-action-molecule:3.0.6 image: robertdebock/github-action-molecule:3.3.0
services: services:
- docker:dind - docker:dind

View File

@ -21,7 +21,7 @@ jobs:
path: {% raw %}"${{ github.repository }}"{% endraw %} path: {% raw %}"${{ github.repository }}"{% endraw %}
- name: molecule - name: molecule
uses: robertdebock/molecule-action@2.6.16 uses: robertdebock/molecule-action@2.7.0
with: with:
command: lint command: lint
test: test:
@ -51,7 +51,7 @@ jobs:
- name: parse apparmor for mysql - name: parse apparmor for mysql
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- name: molecule - name: molecule
uses: robertdebock/molecule-action@2.6.16 uses: robertdebock/molecule-action@2.7.0
with: with:
image: {% raw %}${{ matrix.config.image }}{% endraw %} image: {% raw %}${{ matrix.config.image }}{% endraw %}

View File

@ -8,6 +8,7 @@ lint: |
set -e set -e
yamllint . yamllint .
ansible-lint ansible-lint
ansible-later
driver: driver:
name: docker name: docker
platforms: platforms: