|
@ -34,7 +34,11 @@ |
|
|
group: root |
|
|
group: root |
|
|
mode: 0755 |
|
|
mode: 0755 |
|
|
when: letsencrypt|bool |
|
|
when: letsencrypt|bool |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: upload nginx configuration |
|
|
|
|
|
template: |
|
|
|
|
|
src: nginx.conf.j2 |
|
|
|
|
|
dest: /etc/nginx/nginx.conf |
|
|
- name: disable nginx default configuration |
|
|
- name: disable nginx default configuration |
|
|
file: |
|
|
file: |
|
|
path: /etc/nginx/sites-enabled/default |
|
|
path: /etc/nginx/sites-enabled/default |
|
|