add passphrase option to pkcs12
This commit is contained in:
parent
ffa806db37
commit
fade297aaf
|
@ -44,6 +44,7 @@ unifi_open_ports:
|
||||||
|
|
||||||
unifi_tls_deploment_enabled: False
|
unifi_tls_deploment_enabled: False
|
||||||
unifi_tls_pkcs12_path: /tmp/unifi.p12
|
unifi_tls_pkcs12_path: /tmp/unifi.p12
|
||||||
|
unifi_tls_pkcs12_passphrase: temppass
|
||||||
unifi_tls_cert_path: /etc/pki/tls/certs/cert.pem
|
unifi_tls_cert_path: /etc/pki/tls/certs/cert.pem
|
||||||
unifi_tls_key_path: /etc/pki/tls/private/key.pem
|
unifi_tls_key_path: /etc/pki/tls/private/key.pem
|
||||||
unifi_tls_lookup_user: "{{ ansible_user_dir }}"
|
unifi_tls_lookup_user: "{{ ansible_user_dir }}"
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
friendly_name: ubnt
|
friendly_name: ubnt
|
||||||
privatekey_path: "{{ unifi_tls_key_path }}"
|
privatekey_path: "{{ unifi_tls_key_path }}"
|
||||||
cert_path: "{{ unifi_tls_cert_path }}"
|
cert_path: "{{ unifi_tls_cert_path }}"
|
||||||
|
passphrase: "{{ unifi_tls_pkcs12_passphrase }}"
|
||||||
state: present
|
state: present
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
become: True
|
become: True
|
||||||
|
|
Loading…
Reference in New Issue
Block a user