summaryrefslogtreecommitdiffstats
path: root/roles/mailman/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mailman/tasks')
-rw-r--r--roles/mailman/tasks/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml
index e5b78da..5cf2fe6 100644
--- a/roles/mailman/tasks/main.yml
+++ b/roles/mailman/tasks/main.yml
@@ -23,7 +23,9 @@
notify: update mailman aliases
-- template: src=vhost.conf dest=/etc/httpd/conf.d/{{ website_url | default( ansible_hostname ) }}.conf
+- template:
+ src: vhost.conf
+ dest: "/etc/httpd/conf.d/{{ website_domain }}.conf.d/mailman.conf"
notify: restart httpd
- copy: mode=0755 src=update_templates_mailman.sh dest=/usr/local/bin/update_templates_mailman.sh