mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2026-04-10 04:20:49 +02:00
Add ansible-later and implement advices.
This commit is contained in:
parent
08d65d516e
commit
29c7861c1e
4
.github/workflows/molecule.yml
vendored
4
.github/workflows/molecule.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
with:
|
||||
path: "${{ github.repository }}"
|
||||
- name: molecule
|
||||
uses: robertdebock/molecule-action@2.6.16
|
||||
uses: robertdebock/molecule-action@2.7.0
|
||||
with:
|
||||
command: lint
|
||||
test:
|
||||
|
|
@ -63,7 +63,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: ${{ matrix.config.image }}
|
||||
tag: ${{ matrix.config.tag }}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
image: robertdebock/github-action-molecule:3.0.6
|
||||
image: robertdebock/github-action-molecule:3.3.0
|
||||
|
||||
services:
|
||||
- docker:dind
|
||||
|
|
|
|||
12
.later.yml
Normal file
12
.later.yml
Normal 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
|
||||
|
|
@ -42,6 +42,7 @@ The machine needs to be prepared. In CI this is done using `molecule/default/pre
|
|||
path: /etc/default
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: place bogus /etc/default/grub
|
||||
ansible.builtin.copy:
|
||||
content: 'GRUB_CMDLINE_LINUX="a=1"'
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ lint: |
|
|||
set -e
|
||||
yamllint .
|
||||
ansible-lint
|
||||
ansible-later
|
||||
driver:
|
||||
name: docker
|
||||
platforms:
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
path: /etc/default
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: place bogus /etc/default/grub
|
||||
ansible.builtin.copy:
|
||||
content: 'GRUB_CMDLINE_LINUX="a=1"'
|
||||
|
|
|
|||
Loading…
Reference in a new issue