-
Notifications
You must be signed in to change notification settings - Fork 5
/
omada.yml
61 lines (56 loc) · 2.73 KB
/
omada.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
- hosts: homelab
vars:
application: omada
docker_network: "{{ networks.user }}"
tasks:
- name: Create config folder
ansible.builtin.file:
path: "{{ config_directory }}"
state: directory
owner: "{{ common_user_id }}"
group: "{{ common_root_group }}"
mode: "0771"
- name: Create container
ansible.builtin.include_role:
name: docker_container
vars:
image: mbentley/omada-controller:5.15-chromium
env:
TZ: "{{ common_timezone }}"
volumes:
- "{{ config_directory }}/cert:/cert"
- "{{ config_directory }}/data:/opt/tplink/EAPController/data"
- "{{ config_directory }}/work:/opt/tplink/EAPController/work"
- "{{ config_directory }}/logs:/opt/tplink/EAPController/logs"
ipv4_address: "{{ docker_network.prefix }}.252"
homepage:
name: TP-Link Omada Controller
group: Networking
weight: 400
description: "Manage TP-Link EAPs"
href: https://omada.{{ common_local_tld }}:8043
widget:
username: !vault |
$ANSIBLE_VAULT;1.1;AES256
64613534616663633634386566646664396364656261656461633665623232626535363033366638
3834383163303366643034356466313534323230366661370a616465326635336363613936626333
65313761343464336436316230653638363232633733363038313834343664346438363661633433
3666353465353239360a396637666663363639356131636636303138396431663764636230623161
3363
password: !vault |
$ANSIBLE_VAULT;1.1;AES256
32373334616634356361303934356135616638393237376637346161313238633966343764343966
6335623035373234373739643665393931626135666164360a646338636437323934313463326435
66373266383431323734333235623566363866656639383638376336393034663636616238306139
3434313639353437640a373037396535616638393963663031653630656563326133333466616266
65383636346366303564396536656566393136653762326132636566613962333864
site: !vault |
$ANSIBLE_VAULT;1.1;AES256
39393163303461306362666636353131336536303566646432326563383838383433323431313162
6539393938363661393861636466633262646137326130320a363438343933353133616462633165
61616665656331386433633463313936656438613534366237366433613737343261656135333036
6166656366326237660a643532373431666536373032313232623437616261613365326162316132
31343630636464393936353965343537343539363865656365663961396464323965616539646265
6530633666623139353766393835363534336638663963346364
fields: '["connectedAp", "activeUser", "alerts"]'