auxiliary infrastructure [PXE, netbox, ubnt controller]. probably on a pi or something
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
545 B

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
  1. - apt_key:
  2. url: https://dl.ubnt.com/unifi/unifi-repo.gpg
  3. state: present
  4. become: yes
  5. - apt_repository:
  6. repo: "deb http://www.ubnt.com/downloads/unifi/debian {{unifi_channel}} ubiquiti"
  7. state: present
  8. become: yes
  9. - name: install java packages
  10. apt:
  11. name: openjdk-8-jre-headless
  12. state: present
  13. update_cache: yes
  14. become: yes
  15. - name: install unifi-controller packages
  16. apt:
  17. name: unifi
  18. state: present
  19. become: yes
  20. notify:
  21. - restart unifi
  22. # - name: disable default unifi mongodb
  23. # lineinfile: