aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/sasl
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2024-09-01 13:58:53 +0200
committerGravatar Johannes Christ <[email protected]>2024-09-01 16:26:49 +0200
commitb367a72397576a01fd46a241a07034543f4ea82e (patch)
treec35152324fd39c7461f4d070ffaee187d7087454 /ansible/roles/sasl
parentAdd missing task for sasl role (diff)
Swap saslauthd to mount outside of postfix
Closes #474.
Diffstat (limited to 'ansible/roles/sasl')
-rw-r--r--ansible/roles/sasl/defaults/main.yml2
-rw-r--r--ansible/roles/sasl/tasks/main.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/ansible/roles/sasl/defaults/main.yml b/ansible/roles/sasl/defaults/main.yml
new file mode 100644
index 0000000..0970fd6
--- /dev/null
+++ b/ansible/roles/sasl/defaults/main.yml
@@ -0,0 +1,2 @@
+---
+sasl_mux_path: /var/run/saslauthd
diff --git a/ansible/roles/sasl/tasks/main.yml b/ansible/roles/sasl/tasks/main.yml
index 0b94a86..7f72260 100644
--- a/ansible/roles/sasl/tasks/main.yml
+++ b/ansible/roles/sasl/tasks/main.yml
@@ -55,7 +55,7 @@
# Postfix runs in a CHROOT so we need to create the SASLAUTHD socket there
# to allow Postfix to communicate with it.
- key: OPTIONS
- value: "-c -m /var/spool/postfix/var/run/saslauthd"
+ value: "-c -m {{ sasl_mux_path }}"
tags:
- role::sasl
notify: