Updating dependencies and readme

This commit is contained in:
Will Bradley 2016-06-14 17:19:20 -07:00
parent 99f9e42751
commit ba3d6d27df
2 changed files with 18 additions and 3 deletions

View File

@ -10,8 +10,8 @@ Forked from https://github.com/fukawi2/unifi-controller-rhel and modified to be
Requirements Requirements
------------ ------------
- You need the [EPEL Repository](https://fedoraproject.org/wiki/EPEL) 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](https://www.ubnt.com/download/unifi/) 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. - 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](https://www.ubnt.com/download/unifi/) 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.
- You may need the [EPEL Repository](https://fedoraproject.org/wiki/EPEL) from Fedora Project enabled for some packages, however Mongo is installed directly from mongo.org so try running without first.
Role Variables Role Variables
@ -63,3 +63,19 @@ Author Information
- [fukawi2](https://github.com/fukawi2) (Original) - [fukawi2](https://github.com/fukawi2) (Original)
- [zyphlar](https://github.com/zyphlar) (Ansible Galaxy version) - [zyphlar](https://github.com/zyphlar) (Ansible Galaxy version)
TODO
----
Possibly open up ports in iptables if it's enabled by default in some distros:
```
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8081 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8443 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8843 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8880 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 27117 -j ACCEPT
# service iptables restart
```

View File

@ -12,8 +12,7 @@
when: ansible_os_family == "RedHat" when: ansible_os_family == "RedHat"
yum: name={{ item }} state=present yum: name={{ item }} state=present
with_items: with_items:
- java-1.6.0-openjdk - java-1.7.0-openjdk
- jakarta-commons-daemon-jsvc
- mongodb-org - mongodb-org
- name: no need for the standard mongod service - name: no need for the standard mongod service