Skip to content

Instantly share code, notes, and snippets.

@ryan-lane
Created June 23, 2014 19:45
Show Gist options
  • Save ryan-lane/b115aa455d07ad2dd98b to your computer and use it in GitHub Desktop.
Save ryan-lane/b115aa455d07ad2dd98b to your computer and use it in GitHub Desktop.
### Apache
Ensure apache packages are installed:
pkg.installed:
- pkgs:
- apache2
- apache2-utils
- libapache2-mod-wsgi
Ensure apache is stopped on install:
cmd.wait:
- name: 'service apache2 stop'
- watch_in:
- pkg: Ensure apache packages are installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment