Ansible role for installing UniFi Controller for Ubiquiti Access Points on RHEL/Centos/Amazon/etc
Go to file
2016-06-14 16:17:13 -07:00
defaults Changing from Ansbile Playbook to Galaxy Role 2016-06-14 13:24:23 -07:00
files Changing from Ansbile Playbook to Galaxy Role 2016-06-14 13:24:23 -07:00
handlers Changing from Ansbile Playbook to Galaxy Role 2016-06-14 13:24:23 -07:00
meta Changing from Ansbile Playbook to Galaxy Role 2016-06-14 13:24:23 -07:00
tasks Updating to a working state 2016-06-14 16:17:13 -07:00
templates Updating to a working state 2016-06-14 16:17:13 -07:00
vars Updating to a working state 2016-06-14 16:17:13 -07:00
.gitignore Changing from Ansbile Playbook to Galaxy Role 2016-06-14 13:24:23 -07:00
LICENSE Initial commit 2014-05-27 11:21:46 +10:00
README.md Updating to a working state 2016-06-14 16:17:13 -07:00

UniFi Controller for RedHat/Centos/etc

Ansible Galaxy role for installing UniFi Controller software for Ubiquiti Access Points on RHEL 6.

Forked from https://github.com/fukawi2/unifi-controller-rhel and modified to be an includable role via Galaxy instead of a playbook.

Requirements

  • You need the EPEL Repository from Fedora Project enabled to be able to install the requirements (MongoDB etc)
  • Ubiquiti's license does not allow redistribution of the software ZIP, so you must manually download the ZIP of the UniFi Controller software from the Ubiquiti website and save it to files/UniFi.unix.zip. The most recent tested version is "UniFi v5.0.6 Zip for DIY Unix/Linux" from 2016-06-01. If you are including this role via Galaxy, you may download this file to your playbook's files directory instead of this role's files directory; both will work.

Role Variables

  • unifi_controller_rhel_ntp_server (optional) sets your preferred NTP server for the UniFi APs to use (default: pool.ntp.org)
  • unifi_controller_rhel_unifi_zip_file (optional) sets the filename of the UniFi controller software on the Ansible system (default: UniFi.unix.zip)

Dependencies

n/a

Example Playbook

First, install this role via Galaxy by typing sudo ansible-galaxy install zyphlar.unifi_controller_rhel

Then create and run an Ansible playbook like this:

- hosts: your_unifi_controllers
  become: true
  roles:
    - zyphlar.unifi_controller_rhel

Or, if you want to override some variables:

- hosts: your_unifi_controllers
  become: true
  roles:
    - some_other_role
    - role: zyphlar.unifi_controller_rhel
      unifi_controller_rhel_unifi_zip_file: UniFi.unix.5.0.6.zip

License

BSD

Support

There is none. Tested on CentOS 6 x86_64. Not tested on animals.

Your results may vary. Discontinue use and see a doctor if rash occurs.

Author Information