/ansible_unifi_controller

Ansible role for installing Ubiquiti UniFi controller

Build Status

Unifi controller

A role for installing the unifi controller service on CentOS

Notes

Currently doesn't support upgrading between versions. See the readme.txt in the unifi zipfile for instructions on how to do that

Requirements

None.

Role Variables

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 role
  • unifi_install_destination: '/opt' The path where unifi will be installed to. Will create a directory called UniFi
  • unifi_download_url: 'https://www.ubnt.com/downloads/unifi/5.4.19/UniFi.unix.zip' The URL to the unifi zip
  • unifi_user: unifi The user that will used for running the service
  • mongod_path: '/usr/bin/mongod' The path where mongod is located when installed
  • unifi_service_port: 8000 The port the service will use

Dependencies

None.

Example Playbook

- hosts: unifi_controller
  roles:
     - { role: peerster.unifi_controller }

License

BSD

Author Information

Created 2016 by peerster