mirror of
https://github.com/de-it-krachten/ansible-role-unifi_docker
synced 2026-05-14 03:51:47 +00:00
No description
- Jinja 100%
# [1.5.0](https://github.com/de-it-krachten/ansible-role-unifi_docker/compare/v1.4.0...v1.5.0) (2026-03-15) ### Features * Added support for Fedora 43 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| handlers | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| templates | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-unifi_docker
Sets up a Docker container with UniFi Network Application
Dependencies
Roles
None
Collections
- community.docker
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- Red Hat Enterprise Linux 101
- RockyLinux 81
- RockyLinux 91
- RockyLinux 101
- OracleLinux 81
- OracleLinux 91
- OracleLinux 101
- AlmaLinux 81
- AlmaLinux 91
- AlmaLinux 101
- Debian 11 (Bullseye)1
- Debian 12 (Bookworm)1
- Debian 13 (Trixie)1
- Ubuntu 18.04 LTS1
- Ubuntu 20.04 LTS1
- Ubuntu 22.04 LTS1
- Ubuntu 24.04 LTS1
- Fedora 421
- Fedora 431
- Alpine 31
- Docker dind (CI only)
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# Base path where docker compose & volume path will exist
unifi_docker_data: /export/docker/unifi
# Docker volume with persistant unifi data
unifi_docker_volume: "{{ unifi_docker_data }}/unifi"
# Netowrk mode for docker container to operate in
unifi_docker_network_mode: host
# List of firewall ports to open for unifi
unifi_fw_ports:
- { port: 8080, proto: tcp }
- { port: 8443, proto: tcp }
- { port: 3478, proto: udp }
- { port: 1900, proto: udp }
- { port: 10001, proto: udp }
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'unifi_docker'
hosts: all
become: 'yes'
tasks:
- name: Include role 'unifi_docker'
ansible.builtin.include_role:
name: unifi_docker