nginx/tasks/config.yml

16 lines
324 B
YAML

---
- name: "[NGINX] - Deploy nginx.conf"
template:
src: etc/nginx/nginx.conf.j2
dest: "{{ nginx_etc_dir }}/nginx.conf"
notify:
- reload nginx
- name: "[NGINX] - Deploy ssl.conf"
template:
src: etc/nginx/conf.d/ssl.conf.j2
dest: "{{ nginx_etc_dir }}/conf.d/ssl.conf"
notify:
- reload nginx