Created
November 26, 2012 22:10
-
-
Save hpk42/4150988 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- copy: src=files/$file dest=/www/ | |
notify: | |
- restart apache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vars:
http_port: 80
max_clients: 200
user: root
tasks:
action: apt pkg=apache2 state=latest
copy: src=files/httpd.conf dest=/etc/apache2/httpd.conf
copy: src=files/apache2.conf dest=/etc/apache2/apache2.conf
with_fileglob: files/ssl/*
notify:
#- name: ensure apache is running
action: service name=httpd state=started
handlers:action: service name=httpd state=restarted