switch position of set_fact task
This commit is contained in:
parent
b647c2196d
commit
599c306985
|
@ -39,14 +39,14 @@
|
|||
label: "{{ item.dest }}"
|
||||
register: __unifi_certs_content
|
||||
when: unifi_tls_source_use_content
|
||||
|
||||
- set_fact:
|
||||
__unifi_pkcs12_path: /tmp/unifi.p12
|
||||
__unifi_keystore_path: "{{ unifi_base_dir }}/{{ unifi_version }}//UniFi/data/keystore"
|
||||
become: True
|
||||
become_user: "{{ unifi_user }}"
|
||||
|
||||
- block:
|
||||
- set_fact:
|
||||
__unifi_pkcs12_path: /tmp/unifi.p12
|
||||
__unifi_keystore_path: "{{ unifi_base_dir }}/{{ unifi_version }}//UniFi/data/keystore"
|
||||
|
||||
- name: Create temp openssl pkcs12 keystore at '{{ __unifi_pkcs12_path }}'
|
||||
openssl_pkcs12:
|
||||
path: "{{ __unifi_pkcs12_path }}"
|
||||
|
|
Loading…
Reference in New Issue