Merge pull request #2 from RWejlgaard/fix-lint-nitpicks

Fix ansible-lint yaml nitpicks
This commit is contained in:
Rasmus Wejlgaard 2026-03-28 13:19:37 +00:00 committed by GitHub
commit 8163b226b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 37 additions and 42 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,30 +0,0 @@
name: PR Test
on:
pull_request:
branches:
- master
- main
jobs:
test:
strategy:
matrix:
distro:
- alpine
- archlinux
- fedora
- ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Only build
run: |
docker buildx build --platform linux/amd64 --output "type=image,push=false" -f tests/Dockerfile-${{ matrix.distro }} .

View file

@ -1,3 +1,4 @@
---
# Authelia - SSO/authentication portal with LLDAP + MariaDB
# Host: helsinki-a (100.67.6.27)
# Data: /root/authelia/

View file

@ -1,3 +1,4 @@
---
# Bitwarden - Self-hosted password manager
# Host: helsinki-a (100.67.6.27)
# Data: Docker volume (bitwarden)

View file

@ -1,3 +1,4 @@
---
# Forgejo - Self-hosted Git forge
# Host: helsinki-a (100.67.6.27)
# Data: /srv/forgejo/data

View file

@ -1,3 +1,4 @@
---
apiVersion: 1
# Contact points — defines where alerts are sent.

View file

@ -1,3 +1,4 @@
---
apiVersion: 1
# Notification routing policy.

View file

@ -1,3 +1,4 @@
---
apiVersion: 1
# Tier 1 — Critical alerts. These page PagerDuty.

View file

@ -1,3 +1,4 @@
---
apiVersion: 1
# Tier 2 — Warning alerts. These send email only (non-paging).
@ -239,4 +240,3 @@ groups:
labels:
severity: warning
isPaused: false

View file

@ -1,3 +1,4 @@
---
apiVersion: 1
# Dashboard provisioning — tells Grafana where to find dashboard JSON files.

View file

@ -1,3 +1,4 @@
---
# Jellyseerr - Media request management
# Host: london-b (100.84.65.101)
# Data: /var/share/jellyseer

View file

@ -1,3 +1,4 @@
---
# Minecraft - PaperMC server
# Host: copenhagen-a (100.89.206.60)
# Data: Docker volume (minecraft_minecraftserver)

View file

@ -1,3 +1,4 @@
---
# Miniflux - RSS reader
# Host: london-b (100.84.65.101)
# Data: Docker volume (miniflux-db)

View file

@ -1,3 +1,4 @@
---
# Navidrome - Music streaming server
# Host: london-b (100.84.65.101)
# Data: /root/navidrome (config), /hdd/music (library)

View file

@ -1,3 +1,4 @@
---
# Nextcloud AIO - All-in-one Nextcloud deployment
# Host: london-b (100.84.65.101)
# Data: Docker volume (nextcloud_aio_mastercontainer)

View file

@ -1,3 +1,4 @@
---
# Plex exporter - Plex metrics for Prometheus
# Host: london-b (100.84.65.101)
# Access: http://london-b:9000/metrics

View file

@ -1,3 +1,4 @@
---
# Poste.io - Self-hosted mail server
# Host: nuremberg-a (100.117.235.28)
# Data: /root/postio/data

View file

@ -1,3 +1,4 @@
---
# Prometheus configuration — extracted from london-a (FreeBSD)
# Config file location on london-a: /usr/local/etc/prometheus.yml
# Prometheus runs as: /usr/local/bin/prometheus --config.file=/usr/local/etc/prometheus.yml
@ -10,12 +11,9 @@ global:
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
- targets: []
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
rule_files: []
scrape_configs:
- job_name: "prometheus"

View file

@ -1,3 +1,4 @@
---
# slskd - Soulseek client (web UI)
# Host: london-b (100.84.65.101)
# Data: /root/slskd (app), /hdd/music/slskd (downloads)

View file

@ -1,3 +1,4 @@
---
# smartctl-exporter - SMART disk metrics for Prometheus
# Host: london-b (100.84.65.101)
# Access: http://london-b:9633/metrics