mirror of
https://github.com/geerlingguy/ansible-role-nginx.git
synced 2025-02-15 01:01:30 +01:00
Merge pull request #60 from danlamanna/fix-nginx-vhost-path-customization
Create the Nginx vhost path directory
This commit is contained in:
commit
ee5cd31375
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user