add nginx_tls_certificates_extra
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-06-04 23:37:44 +02:00
parent 7b9af21abf
commit 051dad25bb
2 changed files with 4 additions and 2 deletions

View File

@ -54,6 +54,8 @@ nginx_tls_certificates: []
# mode: 0600
# @end
nginx_tls_certificates_extra: []
# @var nginx_tls_dhparam_file: $ "_unset_"
nginx_tls_dhparam_size: 2048

View File

@ -4,7 +4,7 @@
file:
name: "{{ item.dest | dirname }}"
state: directory
loop: "{{ nginx_tls_certificates }}"
loop: "{{ nginx_tls_certificates + nginx_tls_certificates_extra }}"
loop_control:
label: "{{ item.dest }}"
@ -14,7 +14,7 @@
dest: "{{ item.dest }}"
mode: "{{ item.mode | default('0600') }}"
owner: "{{ item.owner | default('root') }}"
loop: "{{ nginx_tls_certificates }}"
loop: "{{ nginx_tls_certificates + nginx_tls_certificates_extra }}"
loop_control:
label: "{{ item.dest }}"
notify: __nginx_reload