Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Fixes #180: Use upstream apache_remove_default_vhost variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jul 23, 2015
1 parent 692f73b commit 55be9e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions example.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ apache_vhosts:
- {servername: "{{ drupal_domain }}", documentroot: "{{ drupal_core_path }}"}
- {servername: "xhprof.drupalvm.dev", documentroot: "/usr/share/php/xhprof_html"}
- {servername: "pimpmylog.drupalvm.dev", documentroot: "/usr/share/php/pimpmylog"}
apache_remove_default_vhost: true
apache_mods_enabled:
- expires.load
- ssl.load
Expand Down
7 changes: 0 additions & 7 deletions provisioning/tasks/www.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@
user: "name=www-data append=yes groups=dialout"
when: ansible_os_family == 'Debian'

- name: Remove default virtualhost file.
file:
path: /etc/apache2/sites-enabled/000-default.conf
state: absent
notify: restart webserver
when: ansible_os_family == 'Debian'

- name: Set nicer permissions on Apache log directory.
file:
path: "/var/log/{{ apache_daemon }}"
Expand Down

0 comments on commit 55be9e3

Please sign in to comment.