Created
January 7, 2016 15:56
-
-
Save shey/5a412707f1d9fa74846d to your computer and use it in GitHub Desktop.
site.yml
This file contains 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
- name: Add app nginx-site config | |
template: src=app.j2 | |
dest=/etc/nginx/sites-available/app | |
owner=www-data group=www-data | |
mode=0644 | |
backup=yes | |
notify: restart nginx | |
tags: config | |
- name: enable app | |
file: src=/etc/nginx/sites-available/app | |
dest=/etc/nginx/sites-enabled/app | |
owner=www-data group=www-data | |
state=link | |
notify: restart nginx | |
tags: config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment