add nginx_tls_certificates_extra
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7b9af21abf
commit
051dad25bb
@ -54,6 +54,8 @@ nginx_tls_certificates: []
|
|||||||
# mode: 0600
|
# mode: 0600
|
||||||
# @end
|
# @end
|
||||||
|
|
||||||
|
nginx_tls_certificates_extra: []
|
||||||
|
|
||||||
# @var nginx_tls_dhparam_file: $ "_unset_"
|
# @var nginx_tls_dhparam_file: $ "_unset_"
|
||||||
nginx_tls_dhparam_size: 2048
|
nginx_tls_dhparam_size: 2048
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
file:
|
file:
|
||||||
name: "{{ item.dest | dirname }}"
|
name: "{{ item.dest | dirname }}"
|
||||||
state: directory
|
state: directory
|
||||||
loop: "{{ nginx_tls_certificates }}"
|
loop: "{{ nginx_tls_certificates + nginx_tls_certificates_extra }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.dest }}"
|
label: "{{ item.dest }}"
|
||||||
|
|
||||||
@ -14,7 +14,7 @@
|
|||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
mode: "{{ item.mode | default('0600') }}"
|
mode: "{{ item.mode | default('0600') }}"
|
||||||
owner: "{{ item.owner | default('root') }}"
|
owner: "{{ item.owner | default('root') }}"
|
||||||
loop: "{{ nginx_tls_certificates }}"
|
loop: "{{ nginx_tls_certificates + nginx_tls_certificates_extra }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.dest }}"
|
label: "{{ item.dest }}"
|
||||||
notify: __nginx_reload
|
notify: __nginx_reload
|
||||||
|
Loading…
Reference in New Issue
Block a user