some fixes

This commit is contained in:
Robert Kaussow 2018-08-18 16:52:11 +02:00
parent fb32c2f9a7
commit 0d5a4cdc0d
1 changed files with 10 additions and 2 deletions

View File

@ -19,7 +19,11 @@
- nodes
loop_control:
label: "{{ item.0.path }}/{{ item.0.name }}"
register: __pve_copy_cert
register: __pve_copy_cert_file
when: pve_tls_source_use_files
- set_fact:
__pve_copy_cert: "{{ __pve_copy_cert_file }}"
when: pve_tls_source_use_files
- name: Copy certs and private key (content)
@ -32,7 +36,11 @@
- nodes
loop_control:
label: "{{ item.0.path }}/{{ item.0.name }}"
#register: __pve_copy_cert
register: __pve_copy_cert_content
when: pve_tls_source_use_content
- set_fact:
__pve_copy_cert: "{{ __pve_copy_cert_content }}"
when: pve_tls_source_use_content
- debug: