Fix a few yaml issues.

This commit is contained in:
Robert de Bock 2021-09-15 10:41:20 +02:00
parent 1f5f7eb660
commit 7a912c4b32
4 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,5 @@
---
name: 'shellcheck'
on:
push:

View File

@ -1,3 +1,5 @@
---
name: 'yamllint'
on:
push:

15
.yamllint Normal file
View File

@ -0,0 +1,15 @@
---
extends: default
rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
line-length: disable
truthy: disable
ignore: |
vars/vault.yml

View File

@ -53,7 +53,7 @@
include_vars:
file: "{{ role_path }}/meta/preferences.yml"
when:
- preferencesymlstat.stat.exists | bool
- preferencesymlstat.stat.exists | bool
- name: check defaults/main.yml
stat:
@ -147,8 +147,6 @@
dest: .github/FUNDING.yml
- source: pre-commit-config.yaml
dest: .pre-commit-config.yaml
# - source: collections.yml
# dest: molecule/default/collections.yml
loop_control:
label: "{{ item.source }}"