xoxys.unifi/tasks/certificates.yml

16 lines
446 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
force: True
delegate_to: localhost
changed_when: False
become: True
become_user: "{{ unifi_tls_lookup_user }}"