2018-07-12 23:02:27 +02:00
|
|
|
---
|
|
|
|
- block:
|
|
|
|
- name: Setup temp. openssl pkcs12 keystore
|
|
|
|
openssl_pkcs12:
|
|
|
|
path: "{{ unifi_tls_pkcs12_path }}"
|
|
|
|
friendly_name: ubnt
|
|
|
|
privatekey_path: "{{ unifi_tls_key_path }}"
|
|
|
|
cert_path: "{{ unifi_tls_cert_path }}"
|
2018-07-12 23:26:37 +02:00
|
|
|
passphrase: "{{ unifi_tls_pkcs12_passphrase }}"
|
2018-07-12 23:02:27 +02:00
|
|
|
state: present
|
2018-07-12 23:32:56 +02:00
|
|
|
force: True
|
2018-07-12 23:02:27 +02:00
|
|
|
delegate_to: localhost
|
2018-07-12 23:32:56 +02:00
|
|
|
changed_when: False
|
2018-07-12 23:02:27 +02:00
|
|
|
become: True
|
|
|
|
become_user: "{{ unifi_tls_lookup_user }}"
|