From 06b69bd8def0aae07d3fb565d19193be1a8dfe20 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 5 Apr 2026 21:19:55 -0500 Subject: Harden role security: file permissions, service binding, no_log, strict defaults - Add no_log: true to tasks that handle passwords/secrets - Tighten config file permissions (0644 -> 0600/0640 where appropriate) - Bind pleroma to 127.0.0.1 instead of 0.0.0.0 - Tighten ergo unix socket mode 0777 -> 0770 - Remove weak defaults; roles now fail explicitly if required vars not set --- prosody/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'prosody') diff --git a/prosody/tasks/main.yaml b/prosody/tasks/main.yaml index 752e4b0..c515a24 100644 --- a/prosody/tasks/main.yaml +++ b/prosody/tasks/main.yaml @@ -47,6 +47,7 @@ become_user: "postgres" command: "psql -f /tmp/setup_db_{{prosody_db}}.psql" changed_when: false + no_log: true - name: enable prosody site become: yes -- cgit v1.2.3