ansible/roles/unifi/tasks/main.yml
Markus Hauschild 3d8072520e
Some checks failed
continuous-integration/drone/push Build is failing
unifi: fix version for now (upgrade problems)
2021-09-04 18:25:05 +02:00

25 lines
458 B
YAML

---
- name: Create data directories
file:
path: /var/lib/unifi
state: directory
- name: Run unifi container
docker_container:
name: unifi
image: jacobalberty/unifi:6.1.71
env:
RUNAS_UID0: "false"
TZ: "Europe/Berlin"
init: yes
ports:
- "8080:8080"
- "8443:8443"
- "3478:3478/udp"
- "10001:10001/udp"
restart_policy: unless-stopped
state: started
volumes:
- "/var/lib/unifi:/unifi"