xoxys.unifi/tasks/certificates.yml

14 lines
404 B
YAML

---
- 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 }}"
passphrase: "{{ unifi_tls_pkcs12_passphrase }}"
state: present
delegate_to: localhost
become: True
become_user: "{{ unifi_tls_lookup_user }}"