add missing ca setup

This commit is contained in:
Robert Kaussow 2018-12-01 02:18:50 +01:00
parent 5296c3c1e4
commit c9cb2387fa

View File

@ -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