A role for installing the unifi controller service on CentOS
Currently doesn't support upgrading between versions. See the readme.txt in the unifi zipfile for instructions on how to do that
None.
defaults in defaults/main.yml
unifi_zip_destination: '/tmp/unifi.zip'
The location where the source zip file will be downloaded on the server executing the ansible roleunifi_install_destination: '/opt'
The path where unifi will be installed to. Will create a directory calledUniFi
unifi_download_url: 'https://www.ubnt.com/downloads/unifi/5.4.19/UniFi.unix.zip'
The URL to the unifi zipunifi_user: unifi
The user that will used for running the servicemongod_path: '/usr/bin/mongod'
The path where mongod is located when installedunifi_service_port: 8000
The port the service will use
None.
- hosts: unifi_controller
roles:
- { role: peerster.unifi_controller }
BSD
Created 2016 by peerster