src.nth.io/

summaryrefslogtreecommitdiff
path: root/prosody/tasks/main.yaml
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-04-05 21:19:55 -0500
committerLuke Hoersten <[email protected]>2026-04-05 21:19:55 -0500
commit06b69bd8def0aae07d3fb565d19193be1a8dfe20 (patch)
tree1bf679924a56775f356bc1c378f629264edd1ca8 /prosody/tasks/main.yaml
parent0b402a7a0a773dfa40e5549235941cd1217617d3 (diff)
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
Diffstat (limited to 'prosody/tasks/main.yaml')
-rw-r--r--prosody/tasks/main.yaml1
1 files changed, 1 insertions, 0 deletions
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