|
@@ -28,19 +28,19 @@
|
|
- name: Land named certificates
|
|
- name: Land named certificates
|
|
copy:
|
|
copy:
|
|
src: "{{ item.certfile }}"
|
|
src: "{{ item.certfile }}"
|
|
- dest: "{{ named_certs_dir }}"
|
|
|
|
|
|
+ dest: "{{ named_certs_dir }}/{{ item.certfile | basename }}"
|
|
with_items: "{{ named_certificates }}"
|
|
with_items: "{{ named_certificates }}"
|
|
|
|
|
|
- name: Land named certificate keys
|
|
- name: Land named certificate keys
|
|
copy:
|
|
copy:
|
|
src: "{{ item.keyfile }}"
|
|
src: "{{ item.keyfile }}"
|
|
- dest: "{{ named_certs_dir }}"
|
|
|
|
|
|
+ dest: "{{ named_certs_dir }}/{{ item.keyfile | basename }}"
|
|
mode: 0600
|
|
mode: 0600
|
|
with_items: "{{ named_certificates }}"
|
|
with_items: "{{ named_certificates }}"
|
|
|
|
|
|
- name: Land named CA certificates
|
|
- name: Land named CA certificates
|
|
copy:
|
|
copy:
|
|
src: "{{ item }}"
|
|
src: "{{ item }}"
|
|
- dest: "{{ named_certs_dir }}"
|
|
|
|
|
|
+ dest: "{{ named_certs_dir }}/{{ item | basename }}"
|
|
mode: 0600
|
|
mode: 0600
|
|
with_items: "{{ named_certificates | oo_collect('cafile') }}"
|
|
with_items: "{{ named_certificates | oo_collect('cafile') }}"
|