You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
371 B
15 lines
371 B
---
|
|
- name: Remove default nginx vhost config file (if configured).
|
|
file:
|
|
path: "{{ nginx_default_vhost_path }}"
|
|
state: absent
|
|
when: nginx_remove_default_vhost
|
|
notify: restart nginx
|
|
|
|
- name: Ensure nginx_vhost_path exists.
|
|
file:
|
|
path: "{{ nginx_vhost_path }}"
|
|
state: directory
|
|
notify: reload nginx
|
|
|
|
- include: vhosts-{{ nginx_vhost_style }}.yml
|
|
|