Skip to content

Commit

Permalink
Remove default vhost removal, since this is now implemented with wcm-…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Richter committed Jul 13, 2018
1 parent ec51c86 commit 6432600
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- {
role: geerlingguy.apache,
apache_remove_default_vhost: true,
apache_remove_default_vhost_ssl: true,
apache_create_vhosts: false,
apache_listen_port: "{{ aem_dispatcher_port }}",
apache_listen_port_ssl: "{{ aem_dispatcher_port_ssl }}"
Expand Down
13 changes: 0 additions & 13 deletions tasks/setup_RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# This should be done by the apache role as well
# Remove once https://github.com/geerlingguy/ansible-role-apache/issues/81 is resolved
- name: Remove default vhosts.
file:
path: "{{ apache_conf_path }}/vhosts.conf"
state: absent
with_items:
- vhosts.conf
- userdir.conf
- welcome.conf
notify: restart apache
when: apache_remove_default_vhost

- name: Enable dispatcher module.
copy:
dest: "{{ apache_server_root }}/conf.modules.d/01-dispatcher.conf"
Expand Down

0 comments on commit 6432600

Please sign in to comment.