Add host_vars for firewall configuration

- docker.yml: Disable firewall (Docker manages iptables)
- hiveops.yml: Disable firewall (many ports needed)
- npm.yml: Allow ports 22, 80, 443, 81 (admin)
- smartjournal.yml: Allow ports 22, 80, 443

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
directlx 2026-02-04 09:49:31 -05:00
parent b2151858da
commit 047b485a13
4 changed files with 25 additions and 0 deletions

5
host_vars/docker.yml Normal file
View File

@ -0,0 +1,5 @@
---
# Docker host specific variables
# Disable firewall (Docker manages its own iptables rules)
common_firewall_enabled: false

5
host_vars/hiveops.yml Normal file
View File

@ -0,0 +1,5 @@
---
# HiveOps specific variables
# Disable firewall (too many ports needed)
common_firewall_enabled: false

8
host_vars/npm.yml Normal file
View File

@ -0,0 +1,8 @@
---
# Nginx Proxy Manager specific variables
common_firewall_allowed_ports:
- "22/tcp" # SSH
- "80/tcp" # HTTP
- "443/tcp" # HTTPS
- "81/tcp" # NPM Admin panel

View File

@ -0,0 +1,7 @@
---
# SmartJournal specific variables
common_firewall_allowed_ports:
- "22/tcp" # SSH
- "80/tcp" # HTTP
- "443/tcp" # HTTPS