summaryrefslogtreecommitdiffstats
path: root/roles/mailman
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2015-01-24 22:29:42 +0000
committerKevin Fenzi <kevin@scrye.com>2015-01-24 22:29:42 +0000
commitccbdbe423ca1ea4e22bf418d79bf50b7cdbd7bc4 (patch)
tree226944f34bfe0c7e8cd8002b696cc80d1ae266ec /roles/mailman
parent531427d0835c4b2658f1b450c6abc540e0747964 (diff)
Try and work around this to get mailman02 ansible happy.
Diffstat (limited to 'roles/mailman')
-rw-r--r--roles/mailman/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/mailman/tasks/main.yml b/roles/mailman/tasks/main.yml
index 430386e9a..23d0abfdc 100644
--- a/roles/mailman/tasks/main.yml
+++ b/roles/mailman/tasks/main.yml
@@ -245,8 +245,12 @@
- name: install the post-transaction trigger
template: src=post-transaction.action.j2
dest=/etc/yum/post-actions/hyperkitty.action
+#
+# Only run this on mailman01 for now.
+#
- name: run the post-update script
command: "{{ mailman_webui_basedir }}/bin/post-update.sh"
+ when: not inventory_hostname.startswith('mailman01')
# Postfix