Commit Graph

10 Commits

Author SHA1 Message Date
Clément Désiles c9e2ff930c feat(net_config): safer ufw restart on NAT/forwarding changes
- Replace 'ufw disable && ufw --force enable' single-shot handler with a
  block that dry-runs the ruleset, disables, re-enables, then verifies
  ufw is active. No '&&' short-circuit, so failures are loud instead of
  leaving the host firewall-less.
- Rename handler to 'Restart ufw (ip-forwarding settings changed)' to
  reflect that this is a full restart (required to pick up
  /etc/default/ufw and /etc/ufw/before.rules changes per ufw(8)).
- Add NAT/masquerade tasks: enable ipv4 forwarding, set
  DEFAULT_FORWARD_POLICY=ACCEPT, and write a per-interface *nat block
  in /etc/ufw/before.rules.
- Declare requires_ansible >=2.15 in meta/runtime.yml (handler uses
  block:, supported since 2.12; 2.15 is a safe modern floor).
- README: document Ansible version requirement, port reservation
  rules, and Immich pgvector Q&A.
2026-05-29 22:24:16 +02:00
Clément Désiles 869727d364 fix: add bootstrap for new hosts 2026-03-17 23:06:42 +01:00
Clément Désiles 08364cf2c8 fix: unbound boot ordering 2025-12-24 16:47:38 +01:00
Clément Désiles f385efca84 doc: lint & enhancements 2025-12-23 09:11:16 +01:00
Clément Désiles e003f30889 doc: deploy key 2025-12-13 23:51:53 +01:00
Clément Désiles cab15e590e doc: add ufw description 2025-11-10 18:25:55 +01:00
Clément Désiles 2c421611ae chore: ansible-lint 2025-11-02 21:18:15 +01:00
Clément Désiles 117978fe52 feat: add metric support and fix net-persist issues with multiple NICs 2025-08-26 00:31:24 +02:00
Clément Désiles b5886e1a7b doc: small adjustment 2025-08-25 22:13:54 +02:00
Clément Désiles c612cc7839 chore: first commit 2025-07-25 20:23:54 +02:00