Browse Source

Disable default Apache vhost on mailman servers

The apache2 package installs a "default" vhost automatically.
Disable it, since it interferes with vhost matching on the
multi-site lists.openstack.org server. These vhosts are not enabled
on our production servers, so this makes testing more like
production.

Change-Id: I32a3cea034ac0b198ec1f4610cc096a4502306e6
changes/15/822215/2
Jeremy Stanley 7 months ago
parent
commit
17e3977eaf
  1. 5
      playbooks/roles/mailman/tasks/main.yaml

5
playbooks/roles/mailman/tasks/main.yaml

@ -17,6 +17,11 @@
loop_var: a2_mod
notify: mailman restart apache2
- name: Make sure packaged default site disabled
command: a2dissite 000-default.conf
args:
removes: /etc/apache2/sites-enabled/000-default.conf
- name: Install mailman
package:
name:

Loading…
Cancel
Save