Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kdpuvvadi/unifi
Ansible playbook to deploy unifi controller
https://github.com/kdpuvvadi/unifi
ansible ansible-playbook ubiquiti ubiquiti-unifi-controller unif unifi
Last synced: about 2 months ago
JSON representation
Ansible playbook to deploy unifi controller
- Host: GitHub
- URL: https://github.com/kdpuvvadi/unifi
- Owner: kdpuvvadi
- License: mit
- Created: 2022-11-26T17:46:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-27T07:30:05.000Z (almost 2 years ago)
- Last Synced: 2023-03-01T15:41:57.458Z (almost 2 years ago)
- Topics: ansible, ansible-playbook, ubiquiti, ubiquiti-unifi-controller, unif, unifi
- Language: Jinja
- Homepage:
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unifi Controller Ansible playbook
Tested on Control Node Ubuntu 20.04 LTS. Ansible 2.14.0
## Setup Ansible
* Install pip `sudo apt install python3-pip -y`
* Install ansible with `pip install -r requirements.txt`> It also installs `ansible-lint` and `yamllint`. To only install ansible `pip install ansible`
## Installed Packages
* `OpenJDK 8 Headless`
* `MongoDB`
* `curl`
* `jsvc`
* `tar`
* `ca-certificates`
* `apt-transport-https`## Run
* Clone the repo `git clone https://github.com/kdpuvvadi/unifi.git unifi`.
* Install requirements `ansible-galaxy collection install -r requirements.yml`.
* Inventory with `cp inventory.ini.j2 inventory.ini`.
* Setup inventory.
* Variables with `cp vars.yml.j2 vars.yml`.## Run the playbook
* Run `ansible-playbook main.yml` append `-K`
* if you need password for `sudo` for root access on your host. `ansible-playbook main.yml -K`## Post Install
* unifi controller will be available on `https://HOST-IP:8043/`.
## Releases
* [v7.3.83](../../releases/v7.3.83)
* [v7.3.76](../../releases/v7.3.76)## unifi Service on host
* `sudo service unifi status` -- show the status of Controller.
* `sudo service unifi restart` -- restart the unifi Controller.
* `sudo service unifi stop` --stop running the unifi Controller.## LICENSE
[MIT](./LICENSE)