More readable.

This commit is contained in:
Robert de Bock 2021-09-06 16:37:41 +02:00
parent a95d592458
commit 8602ff13bb
3 changed files with 8 additions and 8 deletions

View file

@ -1,21 +1,22 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.0
rev: v1.26.3
hooks:
- id: yamllint
args: [-c=.yamllint]
- repo: https://github.com/robertdebock/pre-commit
rev: v1.2.2
rev: v1.2.3
hooks:
- id: ansible_role_find_unused_variable
- id: ansible_role_find_empty_files
- id: ansible_role_find_empty_directories
- id: ansible_role_fix_readability

View file

@ -8,7 +8,7 @@ Configure grub on your system.
## [Example Playbook](#example-playbook)
This example is taken from `molecule/resources/converge.yml` and is tested on each push, pull request and release.
This example is taken from `molecule/default/converge.yml` and is tested on each push, pull request and release.
```yaml
---
- name: Converge
@ -25,7 +25,7 @@ This example is taken from `molecule/resources/converge.yml` and is tested on ea
value: 0
```
The machine needs to be prepared in CI this is done using `molecule/resources/prepare.yml`:
The machine needs to be prepared in CI this is done using `molecule/default/prepare.yml`:
```yaml
---
- name: prepare
@ -114,7 +114,6 @@ If you find issues, please register them in [GitHub](https://github.com/robertde
Apache-2.0
## [Author Information](#author-information)
[Robert de Bock](https://robertdebock.nl/)

View file

@ -9,11 +9,11 @@ _grub_packages:
Debian:
- grub2
grub_packages: "{{ _grub_packages[ansible_os_family] | default(_grub_packages['default']) }}"
grub_packages: "{{ _grub_packages[ansible_os_family] | default(_grub_packages['default'] ) }}"
_grub_update_grub_command:
default: grub2-mkconfig -o /boot/grub2/grub.cfg
Alpine: grub-mkconfig -o /boot/grub/grub.cfg
Debian: update-grub
grub_update_grub_command: "{{ _grub_update_grub_command[ansible_os_family] | default(_grub_update_grub_command['default']) }}"
grub_update_grub_command: "{{ _grub_update_grub_command[ansible_os_family] | default(_grub_update_grub_command['default'] ) }}"