add missing ca setup
This commit is contained in:
parent
5296c3c1e4
commit
c9cb2387fa
@ -14,6 +14,7 @@
|
||||
with_items:
|
||||
- "{{ ldap_proxy_tls_cert_path | dirname }}"
|
||||
- "{{ ldap_proxy_tls_key_path | dirname }}"
|
||||
- "{{ ldap_proxy_tls_ca_path | dirname }}"
|
||||
|
||||
- name: Copy certs and private key (file)
|
||||
copy:
|
||||
@ -27,6 +28,7 @@
|
||||
with_items:
|
||||
- { src: "{{ ldap_proxy_tls_key_source }}", dest: '{{ ldap_proxy_tls_key_path }}', mode: '0600' }
|
||||
- { src: "{{ ldap_proxy_tls_cert_source }}", dest: '{{ ldap_proxy_tls_cert_path }}', mode: '0750' }
|
||||
- { src: "{{ ldap_proxy_tls_ca_source }}", dest: '{{ ldap_proxy_tls_ca_path }}', mode: '0750' }
|
||||
loop_control:
|
||||
label: "{{ item.dest }}"
|
||||
when: ldap_proxy_tls_source_use_files
|
||||
@ -43,6 +45,7 @@
|
||||
with_items:
|
||||
- { src: "{{ ldap_proxy_tls_key_source }}", dest: '{{ ldap_proxy_tls_key_path }}', mode: '0600' }
|
||||
- { src: "{{ ldap_proxy_tls_cert_source }}", dest: '{{ ldap_proxy_tls_cert_path }}', mode: '0750' }
|
||||
- { src: "{{ ldap_proxy_tls_ca_source }}", dest: '{{ ldap_proxy_tls_ca_path }}', mode: '0750' }
|
||||
loop_control:
|
||||
label: "{{ item.dest }}"
|
||||
when: ldap_proxy_tls_source_use_content
|
||||
|
Loading…
Reference in New Issue
Block a user