mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
Merge pull request #2 from RWejlgaard/fix-lint-nitpicks
Fix ansible-lint yaml nitpicks
This commit is contained in:
commit
8163b226b3
22 changed files with 37 additions and 42 deletions
11
ansible/.yamllint
Normal file
11
ansible/.yamllint
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
extends: default
|
||||||
|
|
||||||
|
rules:
|
||||||
|
line-length:
|
||||||
|
max: 160
|
||||||
|
truthy:
|
||||||
|
allowed-values: ["true", "false"]
|
||||||
|
|
||||||
|
ignore:
|
||||||
|
- group_vars/all/secrets.enc.yaml
|
||||||
|
|
@ -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 }} .
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Authelia - SSO/authentication portal with LLDAP + MariaDB
|
# Authelia - SSO/authentication portal with LLDAP + MariaDB
|
||||||
# Host: helsinki-a (100.67.6.27)
|
# Host: helsinki-a (100.67.6.27)
|
||||||
# Data: /root/authelia/
|
# Data: /root/authelia/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Bitwarden - Self-hosted password manager
|
# Bitwarden - Self-hosted password manager
|
||||||
# Host: helsinki-a (100.67.6.27)
|
# Host: helsinki-a (100.67.6.27)
|
||||||
# Data: Docker volume (bitwarden)
|
# Data: Docker volume (bitwarden)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Forgejo - Self-hosted Git forge
|
# Forgejo - Self-hosted Git forge
|
||||||
# Host: helsinki-a (100.67.6.27)
|
# Host: helsinki-a (100.67.6.27)
|
||||||
# Data: /srv/forgejo/data
|
# Data: /srv/forgejo/data
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|
||||||
# Contact points — defines where alerts are sent.
|
# Contact points — defines where alerts are sent.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|
||||||
# Notification routing policy.
|
# Notification routing policy.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|
||||||
# Tier 1 — Critical alerts. These page PagerDuty.
|
# Tier 1 — Critical alerts. These page PagerDuty.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|
||||||
# Tier 2 — Warning alerts. These send email only (non-paging).
|
# Tier 2 — Warning alerts. These send email only (non-paging).
|
||||||
|
|
@ -239,4 +240,3 @@ groups:
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
isPaused: false
|
isPaused: false
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|
||||||
# Dashboard provisioning — tells Grafana where to find dashboard JSON files.
|
# Dashboard provisioning — tells Grafana where to find dashboard JSON files.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Jellyseerr - Media request management
|
# Jellyseerr - Media request management
|
||||||
# Host: london-b (100.84.65.101)
|
# Host: london-b (100.84.65.101)
|
||||||
# Data: /var/share/jellyseer
|
# Data: /var/share/jellyseer
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Minecraft - PaperMC server
|
# Minecraft - PaperMC server
|
||||||
# Host: copenhagen-a (100.89.206.60)
|
# Host: copenhagen-a (100.89.206.60)
|
||||||
# Data: Docker volume (minecraft_minecraftserver)
|
# Data: Docker volume (minecraft_minecraftserver)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Miniflux - RSS reader
|
# Miniflux - RSS reader
|
||||||
# Host: london-b (100.84.65.101)
|
# Host: london-b (100.84.65.101)
|
||||||
# Data: Docker volume (miniflux-db)
|
# Data: Docker volume (miniflux-db)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Navidrome - Music streaming server
|
# Navidrome - Music streaming server
|
||||||
# Host: london-b (100.84.65.101)
|
# Host: london-b (100.84.65.101)
|
||||||
# Data: /root/navidrome (config), /hdd/music (library)
|
# Data: /root/navidrome (config), /hdd/music (library)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Nextcloud AIO - All-in-one Nextcloud deployment
|
# Nextcloud AIO - All-in-one Nextcloud deployment
|
||||||
# Host: london-b (100.84.65.101)
|
# Host: london-b (100.84.65.101)
|
||||||
# Data: Docker volume (nextcloud_aio_mastercontainer)
|
# Data: Docker volume (nextcloud_aio_mastercontainer)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Plex exporter - Plex metrics for Prometheus
|
# Plex exporter - Plex metrics for Prometheus
|
||||||
# Host: london-b (100.84.65.101)
|
# Host: london-b (100.84.65.101)
|
||||||
# Access: http://london-b:9000/metrics
|
# Access: http://london-b:9000/metrics
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Poste.io - Self-hosted mail server
|
# Poste.io - Self-hosted mail server
|
||||||
# Host: nuremberg-a (100.117.235.28)
|
# Host: nuremberg-a (100.117.235.28)
|
||||||
# Data: /root/postio/data
|
# Data: /root/postio/data
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# Prometheus configuration — extracted from london-a (FreeBSD)
|
# Prometheus configuration — extracted from london-a (FreeBSD)
|
||||||
# Config file location on london-a: /usr/local/etc/prometheus.yml
|
# 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
|
# Prometheus runs as: /usr/local/bin/prometheus --config.file=/usr/local/etc/prometheus.yml
|
||||||
|
|
@ -10,12 +11,9 @@ global:
|
||||||
alerting:
|
alerting:
|
||||||
alertmanagers:
|
alertmanagers:
|
||||||
- static_configs:
|
- static_configs:
|
||||||
- targets:
|
- targets: []
|
||||||
# - alertmanager:9093
|
|
||||||
|
|
||||||
rule_files:
|
rule_files: []
|
||||||
# - "first_rules.yml"
|
|
||||||
# - "second_rules.yml"
|
|
||||||
|
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
- job_name: "prometheus"
|
- job_name: "prometheus"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# slskd - Soulseek client (web UI)
|
# slskd - Soulseek client (web UI)
|
||||||
# Host: london-b (100.84.65.101)
|
# Host: london-b (100.84.65.101)
|
||||||
# Data: /root/slskd (app), /hdd/music/slskd (downloads)
|
# Data: /root/slskd (app), /hdd/music/slskd (downloads)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
# smartctl-exporter - SMART disk metrics for Prometheus
|
# smartctl-exporter - SMART disk metrics for Prometheus
|
||||||
# Host: london-b (100.84.65.101)
|
# Host: london-b (100.84.65.101)
|
||||||
# Access: http://london-b:9633/metrics
|
# Access: http://london-b:9633/metrics
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue