Skip to content

Instantly share code, notes, and snippets.

@patrickheeney
Last active August 29, 2015 13:57
Show Gist options
  • Save patrickheeney/9919476 to your computer and use it in GitHub Desktop.
Save patrickheeney/9919476 to your computer and use it in GitHub Desktop.
- name: virtualhosts | remove default sites
file: >
path=/etc/apache2/sites-enabled/{{ item }}
state=absent
with_items:
- 'default'
- 'default.conf'
- '000-default'
- '000-default.conf'
- 'default-ssl'
- 'default-ssl.conf'
notify:
- apache-restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment