switch position of set_fact task

This commit is contained in:
Robert Kaussow 2018-10-13 19:26:32 +02:00
parent b647c2196d
commit 599c306985
1 changed files with 4 additions and 4 deletions

View File

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