From 599c306985185177df1dbb689b989455f8795953 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 13 Oct 2018 19:26:32 +0200 Subject: [PATCH] switch position of set_fact task --- tasks/tls.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/tls.yml b/tasks/tls.yml index cfd51f5..5af46a1 100644 --- a/tasks/tls.yml +++ b/tasks/tls.yml @@ -39,14 +39,14 @@ label: "{{ item.dest }}" register: __unifi_certs_content when: unifi_tls_source_use_content - 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" + become: True + become_user: "{{ unifi_user }}" +- block: - name: Create temp openssl pkcs12 keystore at '{{ __unifi_pkcs12_path }}' openssl_pkcs12: path: "{{ __unifi_pkcs12_path }}"