Update you Omada Controller with Ansible
git clone https://github.com/kdpuvvadi/omada-upgrade-ansible.git && cd omada-upgrade-ansible
- Copy inventory sample file
cp inventory.ini.j2 inventory.ini
- Change the ip address with actual IP address of the host server.
- Copy varible file with
cp vars.yml.j2 vars.ini
Make sure to change the urls of
omada_url_old
with your current version of Omada versionomada_url
with latest version url.
Latest version of Omada Controller can be found here
- install python & pip with
sudo apt install python3 python3-pip -y
- install ansible with
pip python3 -m pip install ansible
ansible all -m ping
If connection is good, output should be something like below.
server1 | SUCCESS => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/bin/python3"
},
"changed": false,
"ping": "pong"
}
Run the playbook with
ansible-playbook main.yml
If user needs password for elevation, append -K
to the above.
ansible-playbook main.yml -K
If playbook run was successfull and didn't encounter any error, controller will be install and Omada controller will be available on http://HOST-IP:8088/
or https://HOST-IP:8043/
.
From v5.0.29
Adoption port has been changed to 29814/tcp
. Omada controller needs these ports 8088
, 8043
, 27001
, 27002
, 29810
, 29811
, 29812
, 29813
and 29814
to work properly.