Dediziertes NFS-Stabilitäts-Playbook ausführbar machen #6

Merged
sascha merged 2 commits from feat/nfs-command-20260814 into master 2026-08-14 06:49:16 +02:00
2 changed files with 11 additions and 0 deletions

6
nfs-stability.yml Normal file
View file

@ -0,0 +1,6 @@
---
- name: NFS and mergerfs stability
hosts: emby-sascha:emby-chris:arrapps
become: yes
roles:
- nfs_stability

View file

@ -23,6 +23,7 @@ usage() {
echo -e " ${C}wstunnel${N} [host] wstunnel + WireGuard deployen"
echo -e " ${C}sshfs${N} [host] SSHFS Mounts einrichten"
echo -e " ${C}tune${N} <host> Sysctl Netzwerk-Tuning"
echo -e " ${C}nfs${N} <host> NFS-/mergerfs-Stabilisierung ausrollen"
echo -e " ${C}pvetune${N} [host] Proxmox Host Tuning (sysctl, resolv, hosts)"
echo -e " ${C}tc${N} [host] tc per-flow Rate-Limit (50 Mbit/s pro Connection)"
echo -e " ${C}watchdog${N} Network Watchdog deployen (Whitelist aus Ansible)"
@ -103,6 +104,10 @@ case "$CMD" in
[ -z "$HOST" ] && echo -e "${R}Fehler: Host angeben${N}" && exit 1
run sysctl.yaml -l "$HOST"
;;
nfs)
[ -z "$HOST" ] && echo -e "${R}Fehler: Host angeben${N}" && exit 1
run nfs-stability.yml -l "$HOST"
;;
pvetune)
if [ -n "$HOST" ]; then
run sysctl-proxmox.yaml -l "$HOST"