fix ansible-lint yaml nitpicks

- rules-warning.yml: remove trailing blank line
- pr-test.yml: quote 'on' key for yaml truthy, add newline at EOF
- add .yamllint config to ignore SOPS-encrypted secrets (line-length unfixable without re-encrypting)
This commit is contained in:
Rasmus Wejlgaard 2026-03-28 13:10:16 +00:00
parent 737d6e0bc1
commit 269f1b2274
3 changed files with 13 additions and 3 deletions

11
ansible/.yamllint Normal file
View file

@ -0,0 +1,11 @@
---
extends: default
rules:
line-length:
max: 160
truthy:
allowed-values: ["true", "false"]
ignore:
- group_vars/all/secrets.enc.yaml

View file

@ -1,6 +1,6 @@
name: PR Test name: PR Test
on: "on":
pull_request: pull_request:
branches: branches:
- master - master
@ -27,4 +27,4 @@ jobs:
- name: Only build - name: Only build
run: | run: |
docker buildx build --platform linux/amd64 --output "type=image,push=false" -f tests/Dockerfile-${{ matrix.distro }} . docker buildx build --platform linux/amd64 --output "type=image,push=false" -f tests/Dockerfile-${{ matrix.distro }} .

View file

@ -239,4 +239,3 @@ groups:
labels: labels:
severity: warning severity: warning
isPaused: false isPaused: false