homelab/tasks/omada.yml
Renovate Bot c6da63b9da
All checks were successful
Deploy / Prepare Build (push) Successful in 3m26s
chore(deps): update mbentley/omada-controller docker tag to v5.15
| datasource | package                   | from | to   |
| ---------- | ------------------------- | ---- | ---- |
| docker     | mbentley/omada-controller | 5.14 | 5.15 |
2024-12-06 11:01:45 +00:00

25 lines
625 B
YAML

---
- name: Create directories
file:
path: "{{ item }}"
state: directory
with_items:
- "{{ data_folder }}/omada"
- "{{ data_folder }}/omada/data"
- "{{ data_folder }}/omada/logs"
- name: Create the omada container
docker_container:
name: omada
image: mbentley/omada-controller:5.15
restart_policy: unless-stopped
recreate: true
network_mode: host
volumes:
- "{{ data_folder }}/omada/data:/opt/tplink/EAPController/data"
- "{{ data_folder }}/omada/logs:/opt/tplink/EAPController/logs"
env:
PUID: "1000"
PGID: "1000"
TZ: "Australia/Brisbane"