Skip to content

Instantly share code, notes, and snippets.

@ryan-lane
Created June 23, 2014 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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