Inventory cleanup; add ipt-server host_vars for all ipt hosts.
- hosts: remove unreachable/decommissioned hosts (file-ah-neu, file-ah-alt, file-km-neu, ga-al-gw-neu, gw-opp-neu, zapata-neu, zapata-alt, bbb-server, ki-fm, server28, ...) and duplicate aliases (etherpad = b.ns, cl-irights-neu = cl-irights, oolm-db = o21, devel-ruby = devel-todo). - host_vars: add <short>-ipt-server.yml (fw_manage_config: false) for all hosts running the ipt-server firewall, generated by extract-fw-host-vars.py. - host_vars: move/remove obsolete host directories, replace alias directories by symlinks (cl-lubax -> o32, cl-vbrg -> o34, oolm-db -> o21). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -139,6 +139,8 @@ network_interfaces:
|
||||
|
||||
sshd_login_grace_time: 0
|
||||
|
||||
sshd_permit_root_login: !!str "no"
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/apt.yml
|
||||
@@ -151,7 +153,7 @@ sshd_login_grace_time: 0
|
||||
# vars used by roles/common/tasks/systemd-resolved.yml
|
||||
# ---
|
||||
|
||||
systemd_resolved: true
|
||||
systemd_resolved: false
|
||||
|
||||
# CyberGhost - Schnelle Verbindung mit Keine-Logs-Datenschutzrichtlinie
|
||||
# Primäre DNS-Adresse: 38.132.106.139
|
||||
@@ -293,6 +295,11 @@ cron_user_entries:
|
||||
hour: '05'
|
||||
job: /root/bin/mysql/flush_host_cache.sh
|
||||
|
||||
- name: "Background job for nextcloud instance 'cloud.lubax.de'"
|
||||
minute: '*/15'
|
||||
hour: '*'
|
||||
job: sudo -u "www-data" /usr/local/php/bin/php -f /var/www/cloud.lubax.de/htdocs/cron.php
|
||||
|
||||
- name: "Generate/Renew Let's Encrypt Certificates if needed (using dehydrated script)"
|
||||
minute: '23'
|
||||
hour: '05'
|
||||
@@ -345,6 +352,10 @@ sudo_users:
|
||||
#
|
||||
# see: roles/common/tasks/vars
|
||||
|
||||
sudoers_file_user_privileges:
|
||||
- name: back
|
||||
entry: 'ALL=(www-data) NOPASSWD: /usr/local/php/bin/php'
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/caching-nameserver.yml
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
# ipt-firewall configuration for o32.oopen.de
|
||||
# Generated by extract-fw-host-vars.py - review before committing!
|
||||
# Place in: host_vars/<hostname>/<short-hostname>-ipt-server.yml
|
||||
|
||||
fw_manage_config: false
|
||||
|
||||
# --- Network
|
||||
fw_ext_interfaces:
|
||||
- "eth0"
|
||||
fw_ext_ips_v4:
|
||||
- "46.224.120.108"
|
||||
fw_ext_ips_v6:
|
||||
- "2a01:4f8:1c1a:4d53::1"
|
||||
|
||||
# --- Munin
|
||||
munin_remote_ipv4: 37.27.121.227
|
||||
munin_remote_ipv6: "2a01:4f9:3070:2bda::227"
|
||||
|
||||
# --- HTTP
|
||||
fw_http_server_ips: $ext_1_ip
|
||||
|
||||
# --- Mail
|
||||
fw_mail_client_ips: $ext_1_ip
|
||||
Reference in New Issue
Block a user