|
@@ -14,6 +14,13 @@ |
|
|
dest: /etc/nginx/sites-available/default |
|
|
dest: /etc/nginx/sites-available/default |
|
|
notify: reload nginx |
|
|
notify: reload nginx |
|
|
|
|
|
|
|
|
|
|
|
- name: enable default vhost |
|
|
|
|
|
file: |
|
|
|
|
|
src: ../sites-available/default |
|
|
|
|
|
dest: /etc/nginx/sites-enabled/default |
|
|
|
|
|
state: link |
|
|
|
|
|
notify: reload nginx |
|
|
|
|
|
|
|
|
- name: vhosts |
|
|
- name: vhosts |
|
|
template: |
|
|
template: |
|
|
src: vhost.conf.j2 |
|
|
src: vhost.conf.j2 |
|
|