mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2026-04-10 21:01:19 +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:
|
with:
|
||||||
path: "${{ github.repository }}"
|
path: "${{ github.repository }}"
|
||||||
- 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:
|
||||||
|
|
@ -63,7 +63,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: ${{ matrix.config.image }}
|
image: ${{ matrix.config.image }}
|
||||||
tag: ${{ matrix.config.tag }}
|
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:
|
services:
|
||||||
- docker:dind
|
- 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
|
path: /etc/default
|
||||||
state: directory
|
state: directory
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
- name: place bogus /etc/default/grub
|
- name: place bogus /etc/default/grub
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
content: 'GRUB_CMDLINE_LINUX="a=1"'
|
content: 'GRUB_CMDLINE_LINUX="a=1"'
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ lint: |
|
||||||
set -e
|
set -e
|
||||||
yamllint .
|
yamllint .
|
||||||
ansible-lint
|
ansible-lint
|
||||||
|
ansible-later
|
||||||
driver:
|
driver:
|
||||||
name: docker
|
name: docker
|
||||||
platforms:
|
platforms:
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
path: /etc/default
|
path: /etc/default
|
||||||
state: directory
|
state: directory
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
- name: place bogus /etc/default/grub
|
- name: place bogus /etc/default/grub
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
content: 'GRUB_CMDLINE_LINUX="a=1"'
|
content: 'GRUB_CMDLINE_LINUX="a=1"'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue