2018-07-08 16:50:35 +00:00
|
|
|
---
|
|
|
|
unifi_version: 5.6.39
|
2018-07-10 20:30:54 +00:00
|
|
|
unifi_openjdk_version: 1.8.0
|
2018-07-11 21:08:25 +00:00
|
|
|
unifi_restore_after_upgrade: False
|
2018-07-08 16:50:35 +00:00
|
|
|
|
|
|
|
unifi_group: ubnt
|
|
|
|
unifi_user: ubnt
|
|
|
|
|
|
|
|
unifi_lvm_enabled: False
|
|
|
|
# unifi_lvm_pvs:
|
|
|
|
# - /dev/sda
|
|
|
|
# unifi_lvm_vg: vg_unifi
|
|
|
|
# unifi_lvm_lv: lv_unifi
|
|
|
|
# unifi_lvm_size: 10G
|
2018-07-10 20:30:54 +00:00
|
|
|
# unifi_lvm_fstype: xfs
|
2018-07-08 16:50:35 +00:00
|
|
|
unifi_base_dir: /opt/unifi
|
2018-07-10 21:11:32 +00:00
|
|
|
unifi_tmp_dir: "{{ unifi_base_dir }}/tmp"
|
2018-07-11 20:37:44 +00:00
|
|
|
|
2018-07-11 20:40:37 +00:00
|
|
|
unifi_iptables_enabled: True
|
2018-07-11 20:37:44 +00:00
|
|
|
unifi_open_ports:
|
2018-07-11 22:48:14 +00:00
|
|
|
- name: allow_unifi_web
|
|
|
|
rules: |
|
|
|
|
-A INPUT -m state --state NEW -p tcp --dport 8443 -j ACCEPT
|
|
|
|
state: present
|
|
|
|
- name: allow_unifi_comm
|
|
|
|
rules: |
|
|
|
|
-A INPUT -m state --state NEW -p tcp --dport 8080 -j ACCEPT
|
|
|
|
-A OUTPUT -m state --state NEW -p tcp --dport 8080 -j ACCEPT
|
|
|
|
state: present
|
|
|
|
- name: allow_unifi_stun
|
|
|
|
rules: |
|
|
|
|
-A INPUT -m state --state NEW -p udp --dport 3478 -j ACCEPT
|
|
|
|
-A OUTPUT -m state --state NEW -p udp --dport 3478 -j ACCEPT
|
|
|
|
state: present
|
|
|
|
- name: allow_unifi_discover
|
|
|
|
rules: |
|
|
|
|
-A INPUT -m state --state NEW -p udp --dport 10001 -j ACCEPT
|
|
|
|
-A OUTPUT -m state --state NEW -p udp --dport 10001 -j ACCEPT
|
|
|
|
state: present
|
|
|
|
- name: allow_unifi_sped
|
|
|
|
rules: |
|
|
|
|
-A INPUT -m state --state NEW -p tcp --dport 6789 -j ACCEPT
|
|
|
|
state: present
|
2018-07-12 21:02:27 +00:00
|
|
|
|
2018-08-13 20:06:00 +00:00
|
|
|
unifi_tls_deployment_enabled: False
|
2018-07-12 21:26:37 +00:00
|
|
|
unifi_tls_pkcs12_passphrase: temppass
|
2018-08-04 20:13:10 +00:00
|
|
|
unifi_tls_cert_path: /etc/pki/tls/certs/mycert.pem
|
|
|
|
unifi_tls_key_path: /etc/pki/tls/private/mykey.pem
|
2018-08-13 20:06:00 +00:00
|
|
|
|
|
|
|
unifi_nginx_vhost_enabled: False
|
2018-08-13 20:09:24 +00:00
|
|
|
unifi_server_ip: 127.0.0.1
|
2018-08-13 20:06:00 +00:00
|
|
|
unifi_server_port: 8443
|
|
|
|
unifi_nginx_server: myinventoryname
|
|
|
|
unifi_nginx_server_name: unifi.example.com
|
|
|
|
unifi_nginx_vhost_dir: /etc/nginx/sites-available
|
|
|
|
unifi_nginx_vhost_symlink: /etc/nginx/sites-enabled
|
|
|
|
unifi_nginx_iptables_enabled: False
|