deploy missing tls conf
This commit is contained in:
parent
85120dd262
commit
86600837e3
@ -25,5 +25,15 @@
|
||||
label: "{{ item.dest }}"
|
||||
notify: __nginx_reload
|
||||
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_user: root
|
||||
|
Loading…
Reference in New Issue
Block a user