Merge pull request #60 from danlamanna/fix-nginx-vhost-path-customization

Create the Nginx vhost path directory
This commit is contained in:
Jeff Geerling 2016-09-24 10:33:51 -05:00 committed by GitHub
commit ee5cd31375
1 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,13 @@
notify:
- reload nginx
- name: Create nginx_vhost_path directory.
file:
path: "{{ nginx_vhost_path }}"
state: directory
notify:
- reload nginx
- name: Add managed vhost config file (if any vhosts are configured).
template:
src: vhosts.j2