2018-07-08 16:14:22 +00:00
|
|
|
# xoxys.unifi
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.unifi/status.svg)](https://drone.rknet.org/ansible/xoxys.unifi)
|
2018-07-08 16:14:22 +00:00
|
|
|
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
Role to setup unifi
|
|
|
|
|
|
|
|
## Table of content
|
|
|
|
|
|
|
|
* [Default Variables](#default-variables)
|
2019-11-22 23:10:02 +00:00
|
|
|
* [unifi_base_dir](#unifi_base_dir)
|
|
|
|
* [unifi_group](#unifi_group)
|
2019-10-19 14:02:03 +00:00
|
|
|
* [unifi_openjdk_version](#unifi_openjdk_version)
|
|
|
|
* [unifi_restore_after_upgrade](#unifi_restore_after_upgrade)
|
2019-11-22 23:10:02 +00:00
|
|
|
* [unifi_tls_cert_file](#unifi_tls_cert_file)
|
|
|
|
* [unifi_tls_cert_source](#unifi_tls_cert_source)
|
2019-10-19 14:02:03 +00:00
|
|
|
* [unifi_tls_certs_dir](#unifi_tls_certs_dir)
|
2019-11-22 23:10:02 +00:00
|
|
|
* [unifi_tls_enabled](#unifi_tls_enabled)
|
2019-10-19 14:02:03 +00:00
|
|
|
* [unifi_tls_key_dir](#unifi_tls_key_dir)
|
|
|
|
* [unifi_tls_key_file](#unifi_tls_key_file)
|
|
|
|
* [unifi_tls_key_source](#unifi_tls_key_source)
|
2019-11-22 23:10:02 +00:00
|
|
|
* [unifi_tls_pkcs12_passphrase](#unifi_tls_pkcs12_passphrase)
|
|
|
|
* [unifi_tmp_dir](#unifi_tmp_dir)
|
|
|
|
* [unifi_user](#unifi_user)
|
|
|
|
* [unifi_version](#unifi_version)
|
2019-10-19 14:02:03 +00:00
|
|
|
* [Dependencies](#dependencies)
|
|
|
|
* [License](#license)
|
|
|
|
* [Author](#author)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Default Variables
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_base_dir
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_base_dir: /opt/unifi
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_group
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_group: ubnt
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_openjdk_version
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_openjdk_version: 1.8.0
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_restore_after_upgrade
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_restore_after_upgrade: false
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_tls_cert_file
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_tls_cert_file: '{{ unifi_tls_certs_dir }}/mycert.pem'
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_tls_cert_source
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_tls_cert_source: mycert.pem
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_tls_certs_dir
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_tls_certs_dir: '{{ unifi_base_dir }}/tls/certs'
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### unifi_tls_enabled
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
unifi_tls_enabled: false
|
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_tls_key_dir
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_tls_key_dir: '{{ unifi_base_dir }}/tls/private'
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_tls_key_file
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_tls_key_file: '{{ unifi_tls_key_dir }}/mykey.pem'
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_tls_key_source
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_tls_key_source: mykey.pem
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_tls_pkcs12_passphrase
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_tls_pkcs12_passphrase: temppass
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_tmp_dir
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_tmp_dir: '{{ unifi_base_dir }}/tmp'
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_user
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_user: ubnt
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:10:02 +00:00
|
|
|
### unifi_version
|
2019-10-19 14:02:03 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:10:02 +00:00
|
|
|
unifi_version: 5.10.25
|
2019-10-19 14:02:03 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|
|
|
|
|
|
|
|
## Author
|
|
|
|
|
2019-11-07 08:35:40 +00:00
|
|
|
[xoxys](https://gitea.rknet.org/xoxys)
|