deploy missing tls conf

This commit is contained in:
Robert Kaussow 2018-12-09 22:29:26 +01:00
parent 85120dd262
commit 86600837e3

View File

@ -25,5 +25,15 @@
label: "{{ item.dest }}" label: "{{ item.dest }}"
notify: __nginx_reload notify: __nginx_reload
when: nginx_tls_source_use_files when: nginx_tls_source_use_files
- name: Update tls.conf
template:
src: etc/nginx/conf.d/tls.conf.j2
dest: /etc/nginx/conf.d/tls.conf
owner: root
group: root
mode: 0640
validate: bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 1;} http { include %s; }"'
notify: __nginx_reload
become: True become: True
become_user: root become_user: root