Compare commits
312 Commits
template-e
...
801416c617
| Author | SHA1 | Date | |
|---|---|---|---|
|
801416c617
|
|||
|
46a3ea5e4f
|
|||
|
94c6059dbb
|
|||
|
f1875ed26b
|
|||
|
79060a21d4
|
|||
|
9906e6ec87
|
|||
|
f9ff703312
|
|||
|
a04fc5432b
|
|||
|
6aa331c2b3
|
|||
|
984bada205
|
|||
|
27dfcae9eb
|
|||
|
528f07f180
|
|||
|
55de2bd8ae
|
|||
|
b598991248
|
|||
|
c14c64f3b7
|
|||
|
3b1904c60a
|
|||
|
5f7d22874f
|
|||
|
3141559f48
|
|||
|
4a71f2e7df
|
|||
|
67d17294dc
|
|||
|
90cc197c20
|
|||
|
cc80eae7f3
|
|||
|
fdab1a7187
|
|||
|
e16f922362
|
|||
|
8aac1e67ce
|
|||
|
284ed2c808
|
|||
|
bb4aee9a84
|
|||
|
852a040e8a
|
|||
|
2570402c1d
|
|||
|
2ec7d85ca4
|
|||
|
0621fb00cd
|
|||
|
7a751d2345
|
|||
|
de4cc24458
|
|||
|
be4bd3dc02
|
|||
|
9182ca99f9
|
|||
|
a9ac725cbe
|
|||
|
5562702fc7
|
|||
|
05ee187d24
|
|||
|
d680d8d86c
|
|||
|
d19542df43
|
|||
|
56685c1ae9
|
|||
|
0e2067b16f
|
|||
|
00c6fc8c5e
|
|||
|
ebad76b5e4
|
|||
|
45776f7528
|
|||
|
074ebdfebc
|
|||
|
6f0db19d1a
|
|||
|
a7451c31ec
|
|||
|
0b1b88c831
|
|||
|
ecd8d4f20e
|
|||
|
27bf6a9caf
|
|||
|
8c3835288c
|
|||
|
c66daac36a
|
|||
|
8cfb10a2a9
|
|||
|
0cb9abf64a
|
|||
|
b645bf320d
|
|||
|
5631aa016b
|
|||
|
48676d4417
|
|||
|
608ba23c31
|
|||
|
f4e6fe6ba7
|
|||
|
57e03af1d9
|
|||
|
248af84c40
|
|||
|
1057e5599b
|
|||
|
fb29fbce8d
|
|||
|
490b910e53
|
|||
|
506064d863
|
|||
|
b2fbe75290
|
|||
|
836d6ba38f
|
|||
|
1ab98cfbdd
|
|||
|
8f05f962f7
|
|||
|
97a07edb13
|
|||
|
a25ed32a4d
|
|||
|
d115aabb12
|
|||
|
c688faaaee
|
|||
|
bc230e2038
|
|||
|
f51ac48bdf
|
|||
|
06b4c78195
|
|||
|
86f22e6fc2
|
|||
|
0a21b6f6cc
|
|||
|
159b0e46d4
|
|||
|
b90e42a182
|
|||
|
0c7da39896
|
|||
|
45f5b2a963
|
|||
|
2655c222b3
|
|||
|
e26677cda9
|
|||
|
e8b8c7f689
|
|||
|
950464db7e
|
|||
|
8489ebe6df
|
|||
|
9be0b01696
|
|||
|
cce38c758b
|
|||
|
0cfe059b22
|
|||
|
fce4639204
|
|||
|
21594d0ca3
|
|||
|
60228b1597
|
|||
|
2ed3b848a3
|
|||
|
7f116bcb84
|
|||
|
e68d90e6e2
|
|||
|
aed0dedf49
|
|||
|
53ea87701a
|
|||
|
8eb3cfef8b
|
|||
|
cc11de52a5
|
|||
|
105383320a
|
|||
|
db4de63f86
|
|||
|
6f50604fb3
|
|||
|
40e3ace8eb
|
|||
|
8a47deb337
|
|||
|
2f43eabcb7
|
|||
|
b8f2eccb10
|
|||
|
f192675fc9
|
|||
|
adde9eec15
|
|||
|
2a65a44ca2
|
|||
|
80bbe1975e
|
|||
|
e3368e4865
|
|||
|
a7c3c46337
|
|||
|
5711544692
|
|||
|
b03a4e3589
|
|||
|
550f86de0a
|
|||
|
5f3e57ba37
|
|||
|
673d64b476
|
|||
|
77b745346f
|
|||
|
747dcb1f9b
|
|||
|
f62396b1d0
|
|||
|
fa8fba6fb6
|
|||
|
b986c2a395
|
|||
|
21e8d6f6f9
|
|||
|
07b786da00
|
|||
|
600a837d89
|
|||
|
415672cdb2
|
|||
|
0cf01278ad
|
|||
|
a0221b1be4
|
|||
|
ad90a5c31e
|
|||
|
88c718eb77
|
|||
|
95766317e3
|
|||
|
4d815c7e19
|
|||
|
44714d41cd
|
|||
|
e8c1a509dd
|
|||
|
c92d2e0e40
|
|||
|
086f29d62d
|
|||
|
58c0e75630
|
|||
|
fbb7c1ed61
|
|||
|
86e5bf1e0e
|
|||
|
f26c84f589
|
|||
|
0cee1586a8
|
|||
|
9007128bc5
|
|||
|
9b7773d5f5
|
|||
|
6d4a5b7a28
|
|||
|
92d1cdb00a
|
|||
|
e7e3b5f8c9
|
|||
|
8a3f1b9834
|
|||
|
c6c79c087c
|
|||
|
b60cf30c9d
|
|||
|
2132fc635e
|
|||
|
cddcc057df
|
|||
|
707e461e7c
|
|||
|
f3dedf19a0
|
|||
|
62648e9b2d
|
|||
|
88406887cb
|
|||
|
09051f2ef7
|
|||
|
dab5bc78a4
|
|||
|
ef6c1dfc73
|
|||
|
af42ecc081
|
|||
|
68965215b7
|
|||
|
c7ba7b6e5c
|
|||
|
8e1b20fb18
|
|||
|
85daedfd70
|
|||
|
765d7bbe68
|
|||
|
514c47de89
|
|||
|
65f313c5c7
|
|||
|
acf6a43803
|
|||
|
4ff97ffe87
|
|||
|
f99c73740d
|
|||
|
dbb9a8492c
|
|||
|
a90d5f76db
|
|||
|
893a1e7b67
|
|||
|
1dd1e662d0
|
|||
|
a99600de27
|
|||
|
b6943995ba
|
|||
|
b82f61864d
|
|||
|
e2b104614c
|
|||
|
9a255bb470
|
|||
|
6ff3599bcf
|
|||
|
df1d70aa0c
|
|||
|
06cd56e26f
|
|||
|
6b382f2b29
|
|||
|
9d643b8eb1
|
|||
|
61474c72fc
|
|||
|
581be1e7ca
|
|||
|
845291b499
|
|||
|
a00f93c2df
|
|||
|
7b384c6358
|
|||
|
a04a4ebded
|
|||
|
7a828308d4
|
|||
|
8cd245121d
|
|||
|
04ee0f97e7
|
|||
|
71b1939f98
|
|||
|
c653c2ac43
|
|||
|
75fd16c532
|
|||
|
9634a94cd4
|
|||
|
a5fcd5463e
|
|||
|
7e5ebad8c6
|
|||
|
6c2f523779
|
|||
|
9ebe5268f9
|
|||
|
fcc42b9b7c
|
|||
|
83268558ae
|
|||
|
a11bd28c4e
|
|||
|
62e149632e
|
|||
|
018a212ad1
|
|||
|
6474804095
|
|||
|
5cdfe44d6c
|
|||
|
008cd10523
|
|||
|
9472336a4b
|
|||
|
16b6d9467d
|
|||
|
4d54e0b5d1
|
|||
|
ff54cc17c1
|
|||
|
f48d7b1d4c
|
|||
|
7f1afe75b0
|
|||
|
c1d083d51c
|
|||
|
8c6f545195
|
|||
| 2ab47a4085 | |||
| 4808bafb15 | |||
|
7806dbb7ef
|
|||
|
610c62b75a
|
|||
|
60ef84f37d
|
|||
|
993fd8eee7
|
|||
|
a32a59ca0a
|
|||
|
909631952b
|
|||
|
5995621767
|
|||
|
77504eeffd
|
|||
|
078cb8edff
|
|||
|
023b48ace0
|
|||
|
20362a069a
|
|||
|
4c878661e8
|
|||
|
fb19e9eefe
|
|||
|
9c32a10144
|
|||
|
18d632e4ce
|
|||
|
ea30d599a9
|
|||
|
390a571fa4
|
|||
|
70fa7c77a8
|
|||
|
1b1d0181c7
|
|||
|
7724c47528
|
|||
|
2ed283ae54
|
|||
|
f5a2b4c6c8
|
|||
|
f6b850574d
|
|||
|
5ea7ad74cd
|
|||
|
2897d67957
|
|||
|
681a876dae
|
|||
|
a19de4c6a5
|
|||
|
5efa6934e3
|
|||
|
183fb0f237
|
|||
|
4805cca2ce
|
|||
|
30cb6e8786
|
|||
|
a8e6ec48a6
|
|||
|
50c6c57372
|
|||
|
903e786b99
|
|||
|
465d46fd45
|
|||
|
cd68af81c6
|
|||
|
447f06dd8e
|
|||
|
949b82b67f
|
|||
|
3d3c4c109d
|
|||
|
3e07981021
|
|||
|
d60435c66e
|
|||
|
e41f2ba5be
|
|||
|
3a812ce86f
|
|||
|
0a9ac7cfaf
|
|||
|
118bd4bcbd
|
|||
|
70ecb1f6d6
|
|||
|
31f2b51b37
|
|||
|
a8e6ed70ab
|
|||
|
57efba5cb3
|
|||
|
2c7eb799f8
|
|||
|
fa6e8c4b5c
|
|||
|
4b93172b53
|
|||
|
ecd7285ff7
|
|||
|
8a04d9adaf
|
|||
|
095bb14b00
|
|||
|
2f4c43cb96
|
|||
|
ecb7963443
|
|||
|
80b1fbe629
|
|||
|
09cfb8e0d2
|
|||
|
c0ff714238
|
|||
|
84d088443b
|
|||
|
00429c89fe
|
|||
|
d19b952c16
|
|||
|
6bf421bdc8
|
|||
|
4d5922ca58
|
|||
|
2eb2fc9eb0
|
|||
| 7bc5fa6e2c | |||
| fb96864437 | |||
|
d5c5a31bf5
|
|||
|
07534790a3
|
|||
|
d0685d63ed
|
|||
|
7f387d410f
|
|||
|
0ae9867846
|
|||
|
2d633491cb
|
|||
|
4d0a37afbd
|
|||
|
d261c0eb4f
|
|||
|
ad74f0d77b
|
|||
|
6766b01d49
|
|||
|
3081861414
|
|||
|
ce5c2afa85
|
|||
|
c7e1a21363
|
|||
|
2018de4ddb
|
|||
|
b8d1b9432d
|
|||
|
f12104707b
|
|||
|
a7e2ada228
|
|||
|
4de181f01b
|
|||
|
f00be47d24
|
|||
|
fa1b627345
|
|||
|
c578d0c71e
|
|||
|
d176da1e3f
|
|||
| 208e81ee81 | |||
| 32141db102 |
@@ -6,7 +6,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: Prepare
|
name: Prepare
|
||||||
runs-on: runner
|
runs-on: ansible
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -14,6 +14,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||||
@@ -23,4 +24,4 @@ jobs:
|
|||||||
echo "HOST *" > ~/.ssh/config
|
echo "HOST *" > ~/.ssh/config
|
||||||
echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt
|
echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt
|
||||||
chmod 600 ansible.cfg
|
chmod 600 ansible.cfg
|
||||||
/usr/bin/ansible-playbook main.yml --vault-password-file ~/.vault_pass.txt
|
/usr/bin/ansible-playbook main.yml -l jackson --vault-password-file ~/.vault_pass.txt
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
name: Prepare
|
name: Prepare
|
||||||
runs-on: runner
|
runs-on: ansible
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -16,6 +16,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||||
|
|||||||
17
.gitea/workflows/update.yml
Normal file
17
.gitea/workflows/update.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
name: Update Images
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run-update:
|
||||||
|
name: Run update script
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run update script
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt
|
||||||
|
python3 scripts/run_updates.py
|
||||||
@@ -1,17 +1,12 @@
|
|||||||
name: Create New Secrets Template
|
name: Create New Secrets Template
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- "host_vars/**"
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create-pr:
|
create-pr:
|
||||||
name: Extract updated template
|
name: Extract updated template
|
||||||
runs-on: runner
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -2,6 +2,10 @@ ansible_user:
|
|||||||
data_dir:
|
data_dir:
|
||||||
docker_network_name:
|
docker_network_name:
|
||||||
TZ:
|
TZ:
|
||||||
|
PUID:
|
||||||
|
PGID:
|
||||||
|
ansible_become_pass:
|
||||||
|
media_path:
|
||||||
|
|
||||||
# api
|
# api
|
||||||
API_CONTACT_WEBHOOK:
|
API_CONTACT_WEBHOOK:
|
||||||
@@ -35,16 +39,21 @@ TRAEFIK_ENABLE_DASH:
|
|||||||
|
|
||||||
# fivem
|
# fivem
|
||||||
FIVEM_LICENSE_KEY:
|
FIVEM_LICENSE_KEY:
|
||||||
PUID:
|
|
||||||
PGID:
|
|
||||||
media_path:
|
|
||||||
|
|
||||||
# frigate
|
# mastodon
|
||||||
FRIGATE_RECORDINGS_PATH:
|
MASTODON_DB_PASS:
|
||||||
|
MASTODON_LOCAL_DOMAIN:
|
||||||
|
MASTODON_SECRET_KEY_BASE:
|
||||||
|
MASTODON_OTP_SECRET:
|
||||||
|
MASTODON_VAPID_PRIVATE_KEY:
|
||||||
|
MASTODON_VAPID_PUBLIC_KEY:
|
||||||
|
MASTODON_ARE_DETERMINISTIC:
|
||||||
|
MASTODON_ARE_KEY_DERIVATION:
|
||||||
|
MASTODON_ARE_PRIMARY:
|
||||||
|
|
||||||
# plex
|
# wings
|
||||||
PLEX_CLAIM_TOKEN:
|
WINGS_URL:
|
||||||
ansible_become_pass:
|
WINGS_CONTAINER_DIR:
|
||||||
|
|
||||||
# glance
|
# glance
|
||||||
GLANCE_PIHOLE_TOKEN:
|
GLANCE_PIHOLE_TOKEN:
|
||||||
@@ -63,6 +72,7 @@ TINYAUTH_GENERIC_TOKEN_URL:
|
|||||||
TINYAUTH_GENERIC_USER_URL:
|
TINYAUTH_GENERIC_USER_URL:
|
||||||
TINYAUTH_GENERIC_SCOPES:
|
TINYAUTH_GENERIC_SCOPES:
|
||||||
TINYAUTH_GENERIC_NAME:
|
TINYAUTH_GENERIC_NAME:
|
||||||
|
TINYAUTH_REDIRECT_URL:
|
||||||
TINYAUTH_OAUTH_WHITELIST:
|
TINYAUTH_OAUTH_WHITELIST:
|
||||||
TINYAUTH_APP_TITLE:
|
TINYAUTH_APP_TITLE:
|
||||||
TINYAUTH_BACKGROUND_IMAGE:
|
TINYAUTH_BACKGROUND_IMAGE:
|
||||||
@@ -153,3 +163,14 @@ COUCHDB_PASSWORD:
|
|||||||
# helium
|
# helium
|
||||||
HELIUM_BASE_URL:
|
HELIUM_BASE_URL:
|
||||||
HELIUM_EXT_HMAC_SECRET:
|
HELIUM_EXT_HMAC_SECRET:
|
||||||
|
|
||||||
|
# pterodactyl
|
||||||
|
PTERODACTYL_APP_URL:
|
||||||
|
PTERODACTYL_MYSQL_PASSWORD:
|
||||||
|
PTERODACTYL_MYSQL_ROOT_PASSWORD:
|
||||||
|
|
||||||
|
# frigate
|
||||||
|
FRIGATE_RECORDINGS_PATH:
|
||||||
|
|
||||||
|
# plex
|
||||||
|
PLEX_CLAIM_TOKEN:
|
||||||
|
|||||||
20
host_vars/ash-1.yml
Normal file
20
host_vars/ash-1.yml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
63396333353166316666616661613532383538393239303966633336363361613332343437376566
|
||||||
|
3265326538643839326262386165623639353130656164320a323536333037353664646163386335
|
||||||
|
33336631303336616636343538353865383531316561623166323762396262643930376231616638
|
||||||
|
6638613961313364390a366564343030633665646666626165383334356364623761383032633963
|
||||||
|
39393264353635626539393831323530366630343665623561653836303065633965316163386166
|
||||||
|
63353836333639363765616164383133623330653762333762623632653535623438313831653365
|
||||||
|
32393732306135323062666539663839656563306133393031643766626666323534626638653236
|
||||||
|
63613832333833626439653034366336633534323131356262396138373938383039336263356531
|
||||||
|
36323432653634366365663039336231343239626539393961636562366263653934613333633535
|
||||||
|
61613937336336323135376663336364386533366537626133316130353862633862336530633339
|
||||||
|
33663439663332653461643839353564333765646537363864653765303933393562383134316434
|
||||||
|
38333134646362663837653461646661633539623734316635383163313363653730653763326262
|
||||||
|
65326365383661306466663930646162343033383932633866383862626339366631633862346334
|
||||||
|
36366161636663653136383439333461366264383533346461613631623730326437376537373638
|
||||||
|
64323863333364613039613533393232373162346436613864336237336439353134313361653634
|
||||||
|
64366663303265386663623139636131383432343238306631333436373939393832616262393232
|
||||||
|
33376466613639396436396166363032653434653730643734356432653063303762333230323431
|
||||||
|
34313338303838346466666463376636323433663038363935633362656164383762343531633563
|
||||||
|
386432323237313039376531653362326337
|
||||||
246
host_vars/bear.yml
Normal file
246
host_vars/bear.yml
Normal file
@@ -0,0 +1,246 @@
|
|||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
33653930623662656636313563313861353836376666333364366264616362373936623136346537
|
||||||
|
3035383632316339323830303435376331383137353333300a633832646432313063626463353036
|
||||||
|
38363535343930653362623739303135343865663132613737316531636339386134373230366435
|
||||||
|
6264373263333165610a316430633138356163376463636137343063316237363535633362633436
|
||||||
|
34353636396333373739373233376236313566663139393539343234303861663963323235326136
|
||||||
|
36396464333332633561313962653865653736366630313231316466393366306665323439353562
|
||||||
|
32316538613263373566646164383735306361346137623362336333313832613537653635643439
|
||||||
|
32363735643162663435363136303833366337306165653465353864303863393362663030616432
|
||||||
|
39643065343035356636323037366566613337396165393938666265643239643335333064323161
|
||||||
|
34626335356164386461393862363732386136613433353161343031623637323431653432613130
|
||||||
|
39383164346435616532326235333662343661636362396164396536386661653338623165376438
|
||||||
|
62386533623030303838653333616130333232616233306433623366646336643962366262366334
|
||||||
|
37353334613034346161393336373832343932356164643765663233613462356534303435353236
|
||||||
|
38343738326462393234333736663631356330323764616239353838633631336639663834303164
|
||||||
|
63623736313832383066336233633465653763373131656534643664386433393737383432663031
|
||||||
|
38663039633566363333623837316132636137663464636431613365393065623731323764623836
|
||||||
|
38653034386436343764343261613031623263316461373165643262633630643331316630393436
|
||||||
|
35386138383139663538343930353134343038336561333662386637643431633462653464633137
|
||||||
|
62336630396438343631376164393831653161303165333838353866663138383966303164646163
|
||||||
|
66303433386632366236333433616132663032316231373932636361396365333232323035343133
|
||||||
|
30353132376334326438633364643864643330363366653763663365396365393039343161336231
|
||||||
|
31326637653739313033346461363839343137663733376433313333623239353633623438366130
|
||||||
|
62383734633236666462373364316231323937353964323633656662613833643763633664643739
|
||||||
|
34396361306534636361363437373630343439313333326435323530383331656535333432383531
|
||||||
|
33653166656662356532616230656635336461633661343665313838636465653634646234326433
|
||||||
|
66396335316132373765623565633738656537393364393432376233326234336435333034616463
|
||||||
|
36333932326531323065633039653232323565313530336536623034393039303432376462376262
|
||||||
|
39646138356232366237653063393336623261613937333239666662376664636631353165636231
|
||||||
|
37633065626464303966313061323638386136353139313633326565663032316361383138383762
|
||||||
|
61666635333063363537316132346233306662626536303235383734313633346530323336613539
|
||||||
|
33356239316536656633343431666635656239636233616432643932633639616536393138363965
|
||||||
|
38336631653934323938303635623539643363306531323036363533353230646637343964663039
|
||||||
|
36636163353264326662633538326464383533326364383230333532393333346332343862656564
|
||||||
|
35393130626233396238626136643338393433656139366466646336353566343935333332383131
|
||||||
|
39633438653561346630336337333530326236326531383064383536636139306636313636623334
|
||||||
|
36643038376565386539396262666162393164316665623931363030626432656239363434356465
|
||||||
|
31616665393433363361393961323264663631633936663262333763633661356332663163356333
|
||||||
|
31326130623232323866323739613139356131333138663637356236363432386263653330326634
|
||||||
|
31386538306363343433613635646335623761653762653732383061383562633333663333626131
|
||||||
|
65353930343537373132613034613363623065356234616166656536656264316433626230343431
|
||||||
|
37366663616561663434353764363534646265386239616335636633393032333466376361386166
|
||||||
|
36666334383431396261366463396334323764646533366336653630656465373634343035393166
|
||||||
|
64373531366636336138336236323935343065623030643036323263366536383332386138643632
|
||||||
|
35646235366334316339656334333138636531343536386561383362323662386636353931383639
|
||||||
|
36333331383230366336626531363938636362636535663139646664353435356138353165636563
|
||||||
|
37333636373039646665366633373961333262396537353365313036366230663034643337663339
|
||||||
|
64363931373235393765653339353235396531326134396461613766353366623736383665336135
|
||||||
|
65313166306131353265656661653765366436316532303633383530343634316263656530663136
|
||||||
|
30663566346131626330613138313733623332656131303161653136333132373336386665663236
|
||||||
|
31643162326436336561326533343338363436346635623636333063386233633366663130333030
|
||||||
|
37343334333765376135356338376537643366316265386132336162313237303132636232383639
|
||||||
|
66666561383263623162333661303035373662653235633264343661333539613034323337613732
|
||||||
|
35316632363537383932383233636465393331346436306236363465313965333137636264316138
|
||||||
|
32333366666464316331373733616261313165333639313534393838653234666163633534313431
|
||||||
|
62633838353366353965356436393165646265396533663735373461633063393061333063386330
|
||||||
|
39353039613532323761656563333037306231363333616361613235333333323633636539633639
|
||||||
|
33663839386263396530386236306638633633353766336536653336353136626262656564396566
|
||||||
|
31633863316530363237636531356534393631326432363836633030393661666561383432613938
|
||||||
|
62613532306266313733623863646663343561353439366539623663383031663437393565373064
|
||||||
|
36323133356333376334333135323931636638313335383563316133393139336164666435616564
|
||||||
|
31633265303839633533363333316637326465386237616436633066636136326335646663373966
|
||||||
|
30336638396232663732623837393831626339343063623462343334323538303564363131646630
|
||||||
|
35653332666461623231396534643061373365666138623664396161343936306638633735643032
|
||||||
|
36396533656535373861336531373964656532656632393139366238653932396464313731336462
|
||||||
|
61346266326230633562663363326338653561666361313234313466383036643032333764343162
|
||||||
|
32366466613537383233613430663065316435626633333032653862313738356237336434663638
|
||||||
|
37396138343835666266363961393230346132666465613830656536663432383732653863386538
|
||||||
|
66633163653833343138313962653865356634653062333832386365363638373530626430323637
|
||||||
|
38653339346563643539346462663164326636373661663030626537343138666239663561653834
|
||||||
|
38646661373062613130623462376638303161626633663464656139626435343332386366643031
|
||||||
|
31643833626134653036366430393233396166316562323363623764613933653533623232386633
|
||||||
|
36626332306532303863623930343463383964323965373464663133333061613433653362353266
|
||||||
|
63353763383136333635386562666531303836663466303530663539626136366565333165373131
|
||||||
|
38336234303635356138323934646534643233616462303933303065663136376336633964666363
|
||||||
|
35393631613163306664643133363661636162633265613263363966663861613466366532333433
|
||||||
|
66616135303533393537303637393237333930656266613861626337346631323962333136303939
|
||||||
|
37326266616264643562386433663934653063336339653933356536633130313666346133326363
|
||||||
|
39333933353661376164383138643436363561623639643236353934633366636663613437316338
|
||||||
|
33666464653933613236656161353362636461373164666563353062316539626231393930336138
|
||||||
|
37636333376538363337313533396530366265613936623365323866343531326534393164343333
|
||||||
|
63393732323533656131653835656666656338353634623933616137326264643336373632616563
|
||||||
|
37663736623430366661303038643631343736363631636632626137313562623262646464396566
|
||||||
|
31356237303562396661303936613437313436633763663866316431353764663261663463353438
|
||||||
|
64306465323836653333623862306164633935643137633463373263373861316135646365306463
|
||||||
|
39383565666330663735373237393632393932343166366132346231313464626534306330643432
|
||||||
|
36313433666661386564663965386236626461643731353030316637353038323762303564373363
|
||||||
|
62626362613663663062343335333530393336326632393162396131366566393065353530356236
|
||||||
|
37313637376233636239653932386565626537646635393930646565323830303339363035333361
|
||||||
|
37656436623265346362363566346563633232663536366337333233656561376463656265613935
|
||||||
|
65633330363164306461626136376163303130346566656135663363643031363436376436653031
|
||||||
|
34383665353764643663326234656461323061393034313635653662306432343637363537383861
|
||||||
|
38356534616532353032326164366164376334303964616365316537633930663739363863633861
|
||||||
|
35386237376664386137353633633533363564613932366637376266613530343061633030313536
|
||||||
|
34663562383366633765646632373837393133653534313163306638376262313262363663636364
|
||||||
|
63333933323237653734656438316236626536653031323833363833366533353736386264663939
|
||||||
|
37386532343235653837336665663137623865666439316236613034393539613735656532316132
|
||||||
|
30643730626333656237633064313461653833643336343632643533616262313738653536376432
|
||||||
|
35356263613931363564363962363962623033613936643565346565643565653831363734643431
|
||||||
|
32336464326233343266363163633532623262663864323939306561333033626337386631396133
|
||||||
|
34663733326135376462613435353965333233343462396435643236353235343634346565363631
|
||||||
|
66356163313637656463663733383737313837643939626261373536623038346339623564393766
|
||||||
|
64323462656234313665323232363334613065373236646536366666326562643933646438633432
|
||||||
|
32616564643431656333383464383864363939646631356161626165323431643332333738636538
|
||||||
|
62663939613034643462386231376566353638626664343239613963626663353935323562633262
|
||||||
|
63653365623430353064356433326630393435303864326535656663616138316464363538643834
|
||||||
|
66333230363462396565363139366166633236383038366336353532363064646662343939663935
|
||||||
|
63646365313835363630616662373135623565393530303936313861663634353431376131356635
|
||||||
|
66316234316266623063623533303866616166666265656163303339613231356637326262613035
|
||||||
|
66333539616636396263303166663434343830663236316236313434323066366364313139303032
|
||||||
|
64623662353265646539613935666530613138363634613062653031396466313538366436373137
|
||||||
|
33623366383035616161656139643961353838336334653234396635653833303233303165643538
|
||||||
|
65343765636161646634353436373639616439363332356230373939353937333933636365643766
|
||||||
|
61373261323261323238363565666461623834383439626566623762303335633731336366636331
|
||||||
|
37343439376631346235393730656432373262636464616466373831343961366465343935393231
|
||||||
|
32373866393463616165653533633631623164376365346538343435373036613739333333646438
|
||||||
|
63353334653037336335633137313831393134376338363766626264643230373661653735646130
|
||||||
|
38303339613534643762626335303562336334303130623262626161316136366138633063353166
|
||||||
|
32393438643864613761396638633037656330333431346465393335383339656337666339623836
|
||||||
|
61316262383664346636323566343137636464383233656239316539346333313461373232613130
|
||||||
|
63313761386632323063663664376666656263356534363131633631303262623134383634653834
|
||||||
|
30316261333663636463396261613461363037363466316434633462323838366665616637363262
|
||||||
|
34666165366461666534343561613262313862646434616236623538363233333662393835323432
|
||||||
|
62656234386263363635636635313563633965343937323638363334656333613563396363376233
|
||||||
|
63303365313537613435383634636261666633376565383733633235323765353137356663323530
|
||||||
|
65666364313464313762323566363136343338326565366664313932643533656437373536396566
|
||||||
|
37656563323531613964313037653161363639366231393434396532323832366231613862376132
|
||||||
|
38363535356238363338353833323435643262643538336532376263633136633632323836353564
|
||||||
|
31333566303038303939303765623162363832343835613830353264366264623866633730656232
|
||||||
|
39316665623738366338356663633564646235633966323464656239633938663965383633353364
|
||||||
|
31303766386562393065363534386266643135303937316165353835663833653666643933646138
|
||||||
|
36383730303566376336313936343036396563633033613636366465613136396237346637313361
|
||||||
|
32393739376434373464396334333734343030326561326537346331623930626333633833646466
|
||||||
|
31613738396335626665383731353566653963623932303466343632336464353237326530343462
|
||||||
|
62616634646335323562313265393432386566636137663530643037303530383166643934666432
|
||||||
|
31373631623066383765623035343931313630666236396338616466396538313366653939326661
|
||||||
|
33633431313636303630383962366637626335663938323165613036343962383234303864323933
|
||||||
|
34613934376336346462303930353330303566646261386437323566633066393638336433666137
|
||||||
|
37656237353466666537316635626663653836346364626330393330383033326363346535303462
|
||||||
|
62363565383661313762336161353632356662613830626133323466636438646534363339373066
|
||||||
|
38363039663730306666393039396436656532636339666164346634633865373465316364383930
|
||||||
|
33663531346331653063393939333832386230656636386136313632653237346230626632663138
|
||||||
|
35626539303735313031643566316531383764366266303062386436326134636463363266363533
|
||||||
|
33376135323833636466386338343939346435306662653465343763653037346565333264323233
|
||||||
|
37306434636435623039636635646333336232643533366433373930313565623464303564303565
|
||||||
|
64366334333436393630313865373737343231306266393561343665383465633232343039326437
|
||||||
|
39373161323330653061633162383139376361356530313465613563353236366464306532616330
|
||||||
|
63656663653332306232336239653736303863306466633139363662653037626138646364373730
|
||||||
|
66393135343462623831393761623938333039346266613065303535353833356330366561363633
|
||||||
|
65646664636633653666306266633038626435623964623966393961323065353966653061626435
|
||||||
|
32353465663130353135373163306232303061633431366164316565363937356332616662326534
|
||||||
|
64623366643939323036653065633831336632393437313531373064363032323964333138353339
|
||||||
|
36316439386666396236366136646666393266363566396439623463363866306266333032393062
|
||||||
|
30343366343836336565653662316533643833383730656235303136663561303635633935323837
|
||||||
|
30336363383236623430306264303465353037336163613136363731336439383130663166313533
|
||||||
|
64663739666335616533306333646634653563363031363963313661626466633834653263333563
|
||||||
|
39663335346130316538393233666466396636653863623234303363613561353065663439366663
|
||||||
|
37343661313966646162366161663763393564366165363532333633373033316637656561366230
|
||||||
|
36623038346564303965353363376134616334383466343566636263366331643063333339366566
|
||||||
|
35663331373763643762373632313039383865313161353833356331616630316362623437303564
|
||||||
|
35373861363061303334646432633963356361393331633564326261623034653434386431373761
|
||||||
|
39323561373862303039323138646638643964343433343036353430336538353565313733636363
|
||||||
|
64313565343938376236356535643035373066616239333133326266356162643463613534353137
|
||||||
|
36393731333538333166636161326662633463333265363338343339343630313337393337636562
|
||||||
|
63383036633137336134363133656436663839363631313635383637363762333362636364616433
|
||||||
|
35656339636336336461653131323138626634356566356530326661663631663562396362316539
|
||||||
|
65666362653733393963613266633438633031666661353238383435373264646137346533613965
|
||||||
|
37303666633766303838313639333461346462653436653935373865383531333231383131376466
|
||||||
|
35386430633165666135323430653066363239316633366265663230656566323034373863326263
|
||||||
|
31386634363833613538663464636162376266303761626662353130343834393230643738306633
|
||||||
|
36623331316437626233666266346538656137326431346235626532333966336134386434373461
|
||||||
|
63366336323031323430623539333465646637363332616539333532326163316239363465633064
|
||||||
|
33646135376166356263353135346135333233386131393363306533306336336462653037383364
|
||||||
|
30393566646434383165366133616263363931336633366536316366626338656236353932326635
|
||||||
|
38343663393432303833646639303738383464623366336432393535313236663163363764363563
|
||||||
|
33313762393966383064316266336239323139653563373661393066643362663130323637383231
|
||||||
|
64313562386163653337343736393738333637343265623164653364336461356562656331303731
|
||||||
|
36613731373665663130336664313837313765373737316563343163623764616136346233313263
|
||||||
|
34306536616437356163333632646664663232326530386265383339336130653134333865633731
|
||||||
|
34626130356137313562353036333634396566663162316436363430313934643566633639383835
|
||||||
|
31303535396134313736313031306566323264353065376561643562626562333438383563353366
|
||||||
|
31616235376130303134313565333362666331333235353037623735313432623130393533366239
|
||||||
|
39386261333137666339633839613437623866653462306339666431656334366639666564663563
|
||||||
|
63353730303762643732336461333831653561346338363030323231633538333762653032663434
|
||||||
|
62326335396164333462356262643734636166383934383261646232396630393137336639656439
|
||||||
|
62383332376133313666326439363337363631353232316636376364323363666165623566376661
|
||||||
|
62343531303639343937363663386430653337303032656561653632393237373363373461663432
|
||||||
|
63316163653235356165623564356230623364383632393539396436653434363030303933316433
|
||||||
|
33386465376530363064663661633339333861663463363663636664653564616639356433303234
|
||||||
|
66633361376463386561393530316539653462366139366362626633666266356139353933663230
|
||||||
|
34376230316366663131646533623433373833326262303137623632386263323762393939356565
|
||||||
|
64313963336531373633343034383365353632343061613230393362623463633339306461633063
|
||||||
|
33323563666438663639346564643638353039386166623037633465616232393031333430663863
|
||||||
|
39393439646661373961353765633437383131383065323131623431373966303037346230326231
|
||||||
|
31643834346437333863393937383737343335323531336133396562373438653336636362643537
|
||||||
|
65626235653065316630633639613666343934663630306266636233613163646665333835353932
|
||||||
|
37623238396430313330656266313837383531383533383864336433656435346433653337343435
|
||||||
|
62646464653463623862303065383462333736336163663035626633633231313563376264663164
|
||||||
|
30613562323232326235326636653135306432323962626530303532386533323530656239396365
|
||||||
|
61373434636535666534363938666565313635323662316330386566393665633937383035303662
|
||||||
|
34346533353061613262646163363136343330633831623734313336383137363266343365376635
|
||||||
|
33613937623063303461356166656466383436326166303432356466663737613837336233323237
|
||||||
|
65653739346338313631393538373963633936663234306466626437646566353063646436663261
|
||||||
|
39656331323561653266323535313533336265356664656334633730306635653161323739663865
|
||||||
|
66663265386631303862656463613730323162353966303061386536653562666537353531346166
|
||||||
|
62383063343438353834666439386437313861346530666630353766313466666634343339623639
|
||||||
|
35326531383333373938646537643966653930323938376437333139613735373830333566323638
|
||||||
|
34643138366666366138386461323362653265653834316162323830626438663337653039393831
|
||||||
|
34376565393663333263653431303966653662363338363665386539376439376665343539386532
|
||||||
|
63326435306531373665613466616463653432396536633363653830316432356461303239366238
|
||||||
|
33333730323134363761613538386132663734303431313936323431333430353439663962393339
|
||||||
|
37303633666332316261393565616231326337653237613537393630333036393961356164386438
|
||||||
|
30613235323130383162643532353465333739653634353033663862373562323230313534623466
|
||||||
|
30376130643165393233343531363464343936306638336536643934316135663932616334336162
|
||||||
|
35376230626531333033616162653863653734643461366435336563663338643266366365393864
|
||||||
|
39373664633762633066636361303333653766626563663038363738656139663864666363316366
|
||||||
|
61396633303338333163323839323639333862373132653431373136363166663066333766626466
|
||||||
|
62356665376362616339636135333432663337636131663930653431346232633937363337343061
|
||||||
|
63656264626262626638663832306235343637396335333635353663653932376461336632613665
|
||||||
|
32653635366636323666306464623961353465313533383261393264636263636633356263336563
|
||||||
|
31363165366164623334393236653731613764336366363633636235653132373436323933646462
|
||||||
|
32336462313466643332316336336363613031623934346664393163376433383735323461343161
|
||||||
|
38363335316331393862653666333261383331313031363638613065323732346334323735613464
|
||||||
|
39303130626634613935616461356137646538333238336532316463656464356666343033383130
|
||||||
|
35626264343437396535626138326331386239666439396131373566323432343363386535306638
|
||||||
|
66656462383265353332623763376338306632396332383364373930343336336338393332393762
|
||||||
|
37623764386539626361633064613061633063366565393137346634663533663833323339643537
|
||||||
|
33383836303364663061326534653138646334363734323261343730636535646666643465336334
|
||||||
|
34383965653437343966313331663630613038396232613565373134336461646531636637383062
|
||||||
|
34376662393664306464663364626233396135383732396264646632366166643661326639663361
|
||||||
|
32393266653863383631353233633431333966356263353139623931326262326163383465336561
|
||||||
|
63383365663066663130326139316465356435633038326639393435626231663236636665363434
|
||||||
|
63653162623130383363383230666363323265316236323864353236623462623135393462666537
|
||||||
|
33623438313766623439646637353363356662313530346338653634613332343731663035636334
|
||||||
|
36353566393962323063343339633739316163313832323865346161636432343837666630336139
|
||||||
|
39646632613161353734363664323236363434363230346339316661623234343662356634363361
|
||||||
|
38623430326630643034636339316431333761613037646239323437633730656333646337343662
|
||||||
|
32373262363430366534353932656237383131653038636636306232336639313330366363313262
|
||||||
|
61666631333630346235303663373161643037333031323332623662356563646463623632326638
|
||||||
|
32386537353663326331346436383836363861313432333664336335623362626365343565616162
|
||||||
|
30666665303335303435363037373063626436313863636331363738323335323532313838613232
|
||||||
|
33636663346534616133366632653466316162613662343366333836623763363032303832633866
|
||||||
|
36653832313634333438383936653266623333346331323631633131313965383438396236366434
|
||||||
|
62373066393430323438306663636330663738646264383233633935656430343636306565386462
|
||||||
|
30356137386537333364373237376662306265666431353564623434383865626230363334333162
|
||||||
|
33393034646634343039356666313635663932326264366466313939393566313631
|
||||||
@@ -1,70 +1,221 @@
|
|||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
66306532353835666663633632373037633561613261613139306436626532656366336362343465
|
62306336346638643262663739333130666136653565366564383663653939343732396534363737
|
||||||
3966653330313132663633663462363361373230623262370a623661366633623762656363616537
|
6539343535613961326461366639336532613666626465640a363363636361373064663134303532
|
||||||
66323464363164323131663335313264396538313237303432653532393631306635666138316261
|
30613732333535623361616237363237663033633736306437373765343265623765386633663834
|
||||||
3738653338316132640a643935646530393362346431653966643061643334316238333632346265
|
3264653337383763620a663965336264313461643762666533653331316330636463363861303665
|
||||||
66633336316466356566336132626332623661316337613634373036646236363736376561643733
|
62316430333031346530633937393837323131636431303166383365613432623036666336336536
|
||||||
66383830386336653236633933623037316632326266363136613031373439383834653134336237
|
31346331313832376331306364653766663732633833366433643866306437363761396635633034
|
||||||
66363039316661353837383964363163353433383734656564313139383764346533313564616333
|
35373637636533656563316361393764333237653432653333626162356461323163396636396161
|
||||||
36336231363661326638373963393265323365636665653034373536663232353266656365656338
|
36323663663237313731356634363738383862643130633261306234626436346630313838393437
|
||||||
66313034646236356364323238326265633933346530393430373364393837376437623138306630
|
62613338323030393662356462643366626461306138346430326537633365393338333832333633
|
||||||
35306266643835316136323232393630336330346133313963646539636463323862306236653335
|
63313664646663623764376438373432356233373862616465613530623936313332306438363938
|
||||||
30356335366365356439653130376139616336346363656436356333333538373036313266353163
|
63373561333431633436306334333732333563663839666133656533643963623431396538373530
|
||||||
39306365303630636135373731366334623165363336383261386334313061356461303664343133
|
32613738616338666362313765306639656638303536363535643239343563663638383134333334
|
||||||
63383763633566393662623833346662366235323836353639306266383532333736386161393138
|
33373833646130646639643563346365336337303966373063613264643430326361313666623165
|
||||||
36666662306233306439386639666434353639343137653831343666393463323865316464396636
|
39633535336138323531313062393438636265623661613436393538333661386439623162356337
|
||||||
33646238363236303531323131613731343262353365306232343634313637613634626162363566
|
37386535396135393633653435656164646135343537346563623162656335353637666664643561
|
||||||
64326238383331316365343566623464383732653333326534636365386230343836396234396634
|
37643165353461393436396635663034393566633537383230613539363162316231626536623762
|
||||||
63646235356639363036313839643632333066653634323661313263313331393332656131393065
|
63323261393838323661383661303737333034376263346563396237343239623938643032663163
|
||||||
65303338323466383161333237643433303961613266623134383936663866363337653535326133
|
39316139666235343235313261663739333137626533353638613063643232373539643731636533
|
||||||
62323464636638643163313064373736353263356638666434333135656133336534343932613234
|
39303339623939343566386535313766333966323039376237613931633333373564363436316430
|
||||||
32356361346366316262383232653835396435333837633737356335353837336632376337616364
|
38643534303834666533313739616336303437663931653664323961356163363735623261303037
|
||||||
35616365633738366466623835653866663461393738396633343235316231636138333663383364
|
37386466386634643231396165633365336237616331326337376131663132643336613566373231
|
||||||
63376164646563353335333133333665396132343439363861623734336335356663393735313837
|
65626333383839613233386130666139653538316532626230323362323463623965366561343031
|
||||||
34323034336431643362313332633665653837353635303061376235306665336362323630376132
|
33373336663038323639353331623135653139356130343035646239323036383934653364616665
|
||||||
36313539326336656134633564343538636264623932626164366138653035343732396464633863
|
31626438336432613731326138386333653830323835316334613638643030363262366163616662
|
||||||
32613363383366326332383835316666366430623235636536353337373035386361373236363036
|
32353562323663636438633265376535623662333866326439646631373863643862383432616231
|
||||||
31353865333933356561623661353133353864643038626366666431313831353234653430396331
|
36626138343363323861316430306234363338323330636539393236366337326132326231363936
|
||||||
35653864633263613963333734636364366336613430623032666666666266613538663665623437
|
37346239313139393336313936633533663366353533613861643437343230333961353332653064
|
||||||
30643562333561626636646337626234653936616438623738623364653561396638383564333262
|
62626133666338383437623734343331353330383639666566396634663863363735306636363264
|
||||||
39323265346263366530643132303033343835353334373865373561613539613461343962316663
|
31663935633634323936663965626537623065623030626133313330613334396265333161613763
|
||||||
32636461316234313832313635636431326134323638646164396537383963326439633063313063
|
39666461346338396662356466623366393265626133623533353463633036356238386662666335
|
||||||
37353062616233323932343033376636613039343734336630303139616331626431616330396363
|
37623039663931646666643864373034316265363366323261326338386236303331353138383335
|
||||||
65623565653235303630383534343739346234316337343233366530313238623139666538363430
|
35643738343239323930623263316231383835373062336539333763396534393064633630383238
|
||||||
61613833663666386161356331656131356462376463373432316331626531393136393838313065
|
33633563623366323334653963383932653531383563306136343937303534613334643734323534
|
||||||
34323361323836323561633032663833343537663637346330326337363165306237616335333233
|
61623464646333623934303036363135623337346263656134316331306264616431363062306263
|
||||||
35656530303666633438303732623232383965633038616632633164663461393465336233643635
|
31383331616338633539613833633838666461343631393130383733383035306339333834613966
|
||||||
30363334646161363234393533663064363364343838396562626232383036623236343664313366
|
63313165373931336635646634346561313461306535643032666663646337656334633761383138
|
||||||
35646532383164393365343366633134393061633362303164393034653862653535613761356630
|
36653631353463363639663761656132316461643534613736643932326236313239326237313035
|
||||||
65633634393033653363373235323933333766306165326237636530663737393063623664343031
|
35383963653763373834323337623332313138366138376132373461663338303862373637333030
|
||||||
63643538366238363066666566333236653362633861346136663036373731626136383530356466
|
33366339643332373864633964396461373935653439616133366264393863623337346461343731
|
||||||
33326230303864353838333136373736373963386638663164363139386638396265626365356535
|
30386436643831303461353436666164313465356238326334396130373039663062613763666630
|
||||||
35396236306639316631366461373235326665643565326539333739393264373733363163366537
|
31396164393565333462343065353032663438303863646266646562376163653336396165323565
|
||||||
31656366343831616339393065323331636136346236386131306533383436356566633830623163
|
34363232613136656364303966616565393133326566636139313665333861313430613335626535
|
||||||
37303036663935376132323733353433306361383234343962633165616538626564653239393137
|
34623239383635343634313565363830323863656463346366353161323666366263393363386238
|
||||||
65346236656266383130323662636565643033663933346337663836643765656266623563656430
|
65623936663362653162626165346639663537623961616666643639306362636231373963663664
|
||||||
31386365646437306362643965653631373862623266303165386666626430663130666130323062
|
30623034613331613433633331393361663939363630386631343631343166623532396666323563
|
||||||
36326331313838316339653231666138616332653564323635356366316237313662353531336636
|
31666131663733346562323236343535343539333335336335316536353032303139333331613733
|
||||||
31666263313134656136663862303536366631663965343565646637663566656466646435613839
|
64303463376662626665633437346164316336643436356435643862393035306232666432353737
|
||||||
39656230616465653465316633373561343237356637643336373535653438656137323264643239
|
64333230396661376535373830343462653337623663316661326166323337623736333730393033
|
||||||
66363066666161316362383737333638336565613230306138343735633432356661386631383530
|
66313861343632663838313739396630316665626436653331353832343233636566313431373264
|
||||||
64353161396463313532336430613862396537643436396562633665613736663965356335313131
|
30383931326161313434316232316330346663313865646537396634343631643236663532373139
|
||||||
63303563383734353331656164313638386135343336346263643430323932366133306261663562
|
66396632626461663661633638643139616464643261393339323861323638623063613335393261
|
||||||
32633363373537626633373433396565363032323536336263373835653363323661663834333365
|
64333162333933396236346135623938666333343061643332313535303338373666353539633237
|
||||||
65636332383232653933363736363131653032666135373436663834656337653739333338636437
|
30636665356164333761373438666463326165376236363634656266616463653665396630616630
|
||||||
62613463626437306133333632663662303732376364663339306637653534396433643665353366
|
31323732303933623866386230613133626264343637373335306637363736643935663032386634
|
||||||
30633332383136306230613435346536323434666431653834333639343234613631323031643138
|
33656437613763303533613565643335336562393936373936396333303961313732346462366365
|
||||||
38613536336465656232336238653532636664313766633432363364613937323337653464616461
|
37376133333335313533623461343666366662353337353832353363646537363133363963613135
|
||||||
32653939386537663635653733336463303538333431303537323633623834623637666132613030
|
64386539386537646235626539383162636339373536623330323639666663656566303965316535
|
||||||
31666539353762346335643134333637366533313833383634356266653831663333393661353439
|
65323165343163633862653065333436356432303835396538306663356431383839633966356265
|
||||||
64353432393432333865306535643261376536663064323163393266373235623530626138316237
|
39613538663530626636643863626261343533613164383438303635323063646265646339623438
|
||||||
63333631396234326534386238623937626661663265383631386662383866636231646531633562
|
39646261363062373737346630656566316431326539663461363130643735613733313238663634
|
||||||
64323762616431663664613564366562303630313137353838323064333966323062643233353830
|
36643234613534636238623463383432623339386638373564393965393133313737636664303834
|
||||||
37363763666530643535666235383062646163626164353037346365366332366162636563313361
|
35303339346564363661343236663736623339383262656631616566623133323936636437636430
|
||||||
37343861373764653633393930316666613335393232663332323035386431326566663038613861
|
32313530613064343366316566306133653561323264386538623132316538376130376564323632
|
||||||
37303061653936636234363937623162313731353961343337356663623362306461636438333131
|
64613139623330613631306233353334313933376663666436313866313733666434623637383731
|
||||||
32376633663639333534396162383438373863633664383266626537343165396435346337343935
|
31386164613566396665396236633232303130353865376539323066346565343132353730306463
|
||||||
62623232646432346362623430363665353036376564323734346536393430336135306335613238
|
65353030653330393835343330303333633766353334383836643136303533393231366132636462
|
||||||
35633365333430626134353535623363396330343138616530613333633961303930623633663662
|
65396237646532376364393730336332393238653435376231386131343266383363383539653961
|
||||||
65313032353232653233346665616562363138333639323562653035646431313365623036393665
|
33373638633861633663636362613131373165633039343530303539323732333039383564653939
|
||||||
3363
|
37643338386166653339373134666565306561613365333330623833613933616535646331623239
|
||||||
|
38353936333361383037336130656462333736363139623730306234616137366435383538346562
|
||||||
|
39386164383661663462363936303133616661393834353930613137393636376639343666616563
|
||||||
|
65633662306564373662326232643331373365373066643966303265303464303431646562643264
|
||||||
|
39373466633638666465616331363730393732666538616265313733666166363437643932653762
|
||||||
|
32633131393164323135613032363131393039336332616135313761643439663965383038626232
|
||||||
|
62366532343763623331343762376138633666396162333461376530393163333263313334396264
|
||||||
|
65336361623331323564346334626462663366656132616237623063653430653737613363373735
|
||||||
|
36323936306161396664373762333430666164323532323833626631313232363065633933343463
|
||||||
|
33653665616231326636626237383538306564626364613734396162663336383564663437666432
|
||||||
|
63373936366239613636323063636632326139623038363636363234383738373437393338666631
|
||||||
|
61613265396131323137393666386364356133333832393430363838383032643536643866353766
|
||||||
|
34363435313935633339393434613266363636386239623938663261356631313966653862373638
|
||||||
|
32333663616665373433613434613265626230313863396665303763306335323535353939386165
|
||||||
|
38323262616135386336313164366664613335333831383235396131623635346232353263653433
|
||||||
|
39303134376462376366636465623635303932613066383465663934356565343164376336396238
|
||||||
|
66653738383961303961336137613937393962666533306234353663666466373735323766636339
|
||||||
|
65373163366139643035666333333761336238313962306365656235393933383332313536383238
|
||||||
|
66313436323237386238333235353063623662316335373965663930336237386564383739313666
|
||||||
|
63613630303137643766323462666438643263636137633431663537376438663938626436653038
|
||||||
|
32323130396335353765636165306331373966636630326462623036663162343135656230663433
|
||||||
|
32616664643034323033663836623861613436633339333864633731663930636266616334383363
|
||||||
|
37333639393865363234363861373338316661636538323166313666663734626237383035336663
|
||||||
|
36303663333464343239613165656331633230396339653336333134326538303463333439306462
|
||||||
|
32656565376264333236643966316433306565393532346632336463343333383437313138373938
|
||||||
|
61623733323662373961666430343539343966663262653864363933623564393361386664353163
|
||||||
|
38663539653530366266663265363365393664336438323166616635653037643238316265653335
|
||||||
|
36616364353130333834383831383332643661383833323737323738613937333064636132333962
|
||||||
|
35353236306637373932616561326636353461633166636163303130613036363433303531646532
|
||||||
|
64636564303631383832643036636533363862326362383962383431613839366463336163646438
|
||||||
|
64353138623161393663333031363566626132656534653864353234323839346365343463356563
|
||||||
|
30323930333661373237653462346130366662383434633761333165633065393738383761386439
|
||||||
|
66663537663162636138323137323865656636346537643632306636653338383231643865303462
|
||||||
|
35356335353639616334663934333833663832363865666336336465333662623233613135353236
|
||||||
|
66643331333364663864376637343165666336653938383934323034356630643133383732386165
|
||||||
|
61643262366537376437623430373636303439373931363661376134616635363066613533666162
|
||||||
|
64303432363863663165343666633364653765336330663061366265616561663133396366643162
|
||||||
|
36323233386236343531363663326430393238623330633661366462356337326232336237326465
|
||||||
|
33643366323164313130626438663435653762303732323666613833393134623030383332633231
|
||||||
|
30313630336235363562636133633562633236636639346233613461396336343163623330316331
|
||||||
|
65393762656634613833336666366637396234326633656565386464643531313863616530663739
|
||||||
|
37626136373530633736633436396463356562373434653835633962373632393966633764636630
|
||||||
|
66336162663733656161653931316261396262356437623561646435306166303435613730653633
|
||||||
|
66346137643338363863333462343666376134393037326235323866616239396431656466623864
|
||||||
|
62336437666465343035316234343262333161313037643431613164653135373231656234366636
|
||||||
|
32343065626334353038323633356532626161323936396136303039613137343064666361333136
|
||||||
|
63633063323831613238303235646166643832346635613036383437656363663361353536663665
|
||||||
|
32356563613334386162333536313035663439666632333539346239356633653162363132653432
|
||||||
|
64386133376665626531363530656335326538346432643135643766346133356233626136386666
|
||||||
|
35303465386636333731373938656631323138363832326134643330636335343039623034353266
|
||||||
|
32653762643836386564333462303830326433653135366534346461326635316266323038623737
|
||||||
|
65643631306563653266623936336463366138373238306430346636633635353638623932646339
|
||||||
|
30353061636530366435366431343864336535393031643531333932363362396637376164313230
|
||||||
|
39616166386537623335656363623266353331373736353038326232326464376638323637643765
|
||||||
|
37303839333230366634313537643361666231623865616438343536373734616534626135646566
|
||||||
|
33383634383533366462303962633736633930363233363038326562393735313936613964356363
|
||||||
|
34633333303430646364653038623166313834636362656639343439633534336239376665613561
|
||||||
|
61333238636335663662663734373630616632613761326637306366323231386535643132643962
|
||||||
|
30623165353963623530326339663562636430313062366266626430373335623837616461656266
|
||||||
|
35393239363639643938376337636666323465363065366232613539373462373862623462663035
|
||||||
|
64353566373135373964626666656339616633653566643334613637393430633864303165326236
|
||||||
|
33623864383938663337316237343863383562633263316634356465646539633265396239653664
|
||||||
|
61306464663462383136333766376162623363313766613133613963376561333834326633636434
|
||||||
|
66393563663462386564313034653534633736373666363935356238393263343265376431653137
|
||||||
|
38373235336339326663663035356332393530353430613935363839626139393839633037383561
|
||||||
|
36316438663438333162306630646363613231653363326133313563633064363562356334323766
|
||||||
|
32313762353934393535663434623431646566383037646365633337633561623863336331376534
|
||||||
|
39663534386264626239653362613138383863396665396262393835373532323363623731313565
|
||||||
|
36646236653639353633666566646133633330663037646463323663376539346533636564376232
|
||||||
|
33613863396364646262613439323164633338643832653761653333663234363832393762633366
|
||||||
|
66646638313838323331373966613935353437613865336363333830346631353431333333363237
|
||||||
|
33346638643161303737346164396261313738316439383362636563373463336538353137376335
|
||||||
|
64316238346565663262373164323437613431623830383632336539396661616261616332366264
|
||||||
|
66316630353732666263613638316261653934396636353166623639306536373662646562366664
|
||||||
|
31383030616530323138646632393965613764343438323431626533646630656164373638656462
|
||||||
|
61626466303832343430323432383165323363343731323734366233343261366233333564616436
|
||||||
|
37353636343331393663326661663561613333636564323535326330663036316337643966333366
|
||||||
|
36343035633763353362643461653233303863643631333861383334326135376433333666353139
|
||||||
|
32396332646361343063316139646635663335653636323635353561326663633632383762336334
|
||||||
|
61336437396434366133626132313539323939356163666261396235373339303862346439313338
|
||||||
|
35353438326165323261626134356137383764336565353633313562393438323266313465383565
|
||||||
|
65376365386666616639306437653834363233633862663739616632646662343031626630343365
|
||||||
|
33323037656634636330626562656232653363323731343065336132333661653833326439346366
|
||||||
|
37313030636533386331646236633435306136373165353831643566613166353637656437646561
|
||||||
|
35626264613339353739346536366262653130386434323732653765626535313338643264353634
|
||||||
|
61396337663036353230363866613834306165616133373461623531663663353963393734643432
|
||||||
|
35636630363162306130646430613831343032316131306633656666316161343933643932303539
|
||||||
|
32303930386161396432313163313265306364653432613737643934656437313734643135323666
|
||||||
|
65313132656163363762613465303061613461626662396630393435386261646265386336363535
|
||||||
|
64643132336664356339626565303432636266323664646366353631643035343634613034623839
|
||||||
|
66363735643764633265363937366537386438306432663439393436326261363436383034303437
|
||||||
|
36636266396664656533653133633035313934366537373238353461643037333135306637613163
|
||||||
|
34393431363832656534303436363339623136306161363434356231323338646634396332383032
|
||||||
|
38333135623133343964376632666333313064303533616130663162366632386330393232363733
|
||||||
|
65326336386666313464373236666439636135653931643661333738613537373435326266323937
|
||||||
|
63663436353734383263336138333761393835326466343564616363626134356137323761313865
|
||||||
|
65336566313337313136303164636661376437643837316463363031373137616136363936343732
|
||||||
|
31643966626536643833643264613537386235323161303464306261656363303933333364303634
|
||||||
|
33326537396531623736303234353237316137653933363734613834396266376235356633623065
|
||||||
|
38396639363466333033316230666234316639353436626662343737356636336164333839383237
|
||||||
|
33346433393363306661356434633661303564643865656365633639663634383939656331383737
|
||||||
|
36346234393039346138643062316265373038323730616430636336383936363164306636363761
|
||||||
|
38306137306138363532333130623239396137326266313265633331643561663065623662653361
|
||||||
|
30343938623031613162376139343563376137363765396437623133333132336638333034303664
|
||||||
|
33323531346337346266376237373334353334373930623130363938383537663438396562353539
|
||||||
|
63373038383531653764663161323866663530633333636436613431623836663739376139303530
|
||||||
|
62643464313165396533613835376530643961636634356164313736363333363135633939323132
|
||||||
|
34653331366665663266323965636566383530343063363164626137346163386236613933626234
|
||||||
|
38356638343165333636393539643039323163636536313633633162633733633136363364333161
|
||||||
|
39303261636235353965343837316439663033383930363962616233353239346164393533626333
|
||||||
|
35653362363235383661303934343231306135316364656466386231386361323931326537666630
|
||||||
|
62313430663366366163643537666337386463396434303937376664393964633261636662616136
|
||||||
|
65356336663563636663326663383361326134343930626539636133393962636537353064646135
|
||||||
|
32623038373862373963623539366132613935333437393364303632396630386633623963373965
|
||||||
|
30306231656638623463373738313161633063303930383465356661383765346332326434636362
|
||||||
|
63623461313039336164613064666237393038643637386239616566363436663939316631336233
|
||||||
|
33333064353332393862666362326631396437663962336162643237383235323433666439623630
|
||||||
|
61616135333035653261396233626464326662626362313862363564376637353832636566363036
|
||||||
|
63616333353231353164393238613431643035333935353963353066643662616134626238346461
|
||||||
|
32623734376561653938636537633762373933636230316230313130353436383634356666643436
|
||||||
|
31336638356434306564346438353761363138353334303231383136383337343737363336303864
|
||||||
|
39313734663836353131656131313963613062363432633631643464653435653130643162383263
|
||||||
|
31646565366335356330333431366330643262396633646238306637333263653962333536353930
|
||||||
|
64346237363239613034613763633035303834353866316465666236383864663130613763366635
|
||||||
|
61396165393834346131333164393863393562313762626230646636653937386432323565393438
|
||||||
|
35396266356262626465613835336135356363333135373162323634663233616231313536376263
|
||||||
|
36373639666564626434643232376664616638396231383338666432653337376636363332363435
|
||||||
|
65363431383434383464383839346239306462396232326633383935393936333730333335393633
|
||||||
|
66316431393564663939383134353363343865326237666330653933383835386463656430376535
|
||||||
|
62333939313066333038346636663231313763366332373938363833353338356465653463303038
|
||||||
|
63313433333931383666363433663639666234666537343930656632643266336664626237393766
|
||||||
|
33633263643038653262616133336564323561353466646435663966386136353236363466643431
|
||||||
|
36653666646364386435633439666634353233356564306236343863303833613536646361303836
|
||||||
|
33616361323137306231636436613065326464633335383137666339323836376566636432633163
|
||||||
|
38343034343535383064363236386333666235373033623532373365303362363132623635366137
|
||||||
|
64643761616163636334646338636533336633373962353935383037326464646132303663353064
|
||||||
|
37613131316161393961646538383166353462396363313761356366313963396135366463376161
|
||||||
|
39343064323163653766313231653736613839313337663738663634643730613365306339343030
|
||||||
|
34396266343337643166656164643361373431323337666437336339366339656130396530356239
|
||||||
|
30313138633535663635373163643732306230306563333435373837633666656131366263643937
|
||||||
|
65643364366238653338356266313936616334613264616264366266643331353830623266656561
|
||||||
|
38386134303136636165363163303931336135653535303136653037393637623566303539633563
|
||||||
|
62313931383430333939663835613666323636646432373263363639383631303638353463393862
|
||||||
|
39316334316461393463636266386230646438313335316338616438363863306265613037643936
|
||||||
|
32636462633832376466646663383031376232323735303232393866643639356134333231663865
|
||||||
|
38626539383761383662353737386462386439346164306231633331616330313136313364656632
|
||||||
|
37303231666339373966346463646563363666376534633135636234646437363638323861646331
|
||||||
|
31616235326638366461646631623033323963316133376138333139633962376537666361336265
|
||||||
|
35343566373533366639353662656535333437623638383333643963636664663231366265353363
|
||||||
|
39646333656163623330613331313830303866316363346630633734643264633666643530616535
|
||||||
|
36636332323430353566376565326436643434393066303630303963353162343364353936643966
|
||||||
|
61633032303235356539
|
||||||
|
|||||||
@@ -1,209 +1,229 @@
|
|||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
62316431346466333036383039323736336662386634373664343961343732303963323361663530
|
39663135633963326434303864363561636431643561306162306164653033373166336663376435
|
||||||
3038393463616438356133633430393535333335663236350a323064386662623762656138373763
|
6338316264626661303737306537336666613838343037300a316466356335333735373566393965
|
||||||
36343534333364666466656138313034393239626435323163376239333662373538323530646663
|
63366361373239316363663235653635646133353761343733653336653961303661306338663462
|
||||||
3961386133613637320a333536636263646133303231386663386237626430626439373435333233
|
3861373436653334660a346339326433313831316365656331363165303236356136666138376164
|
||||||
66306661326232303032653066353433363839303630376237363538626537303765663065653336
|
64366361633863343232363062366265323663626439396236613766366665626635636132363863
|
||||||
33346335363733343938393335626661626431343134353164396533373562396332616262666362
|
36303937626130373463613837313035663165613539323766613863396539613237633837373539
|
||||||
62396662653461643331373664653735653563396330303165646233363266333562313532303164
|
39383435653839613665353665386236313462356338306162376331336335386233343264346463
|
||||||
63363566353336646664373633376331633465353037656332333562663731373463636133303637
|
38383661626538386337306331376630393530386533313364623539663134643337303062343331
|
||||||
32346231386463353864343465336333623136336663633531343830613935666535306131326666
|
36353166363731363631366536613764623234313039393237316263346139663536316534613536
|
||||||
30353866646264313536333165373638373034346230373738666531613934313762613131333634
|
32353836376538633465353537663266346335663931663936393731646131666234313361333163
|
||||||
36656566376535643833623631383539363163323933343662306365383732303764346665306363
|
31363664323036613730633233303632623930653533393532333030366633383135313132303161
|
||||||
39336162653734303062346335656431366636626262666639393162346430343737376233613761
|
66333464303663666230363332363834643133623431333235656466313461353331366437346666
|
||||||
38366263663062653332366137346235376261356666663331353430663836626339663064396461
|
62633038353763316465623039663238353664633738356531363039333532373337633664316339
|
||||||
65386431646435313038653131633531326631386436333361316233306465333533393163653437
|
33313961383962336563333764653936636634623739313834363332363831346666643033613436
|
||||||
38633765666362383236386130313961386266353463396138353439643232333965643062356334
|
35363962393032303063633032313534316462393562306132626562343463653432353966626338
|
||||||
37326136396133373061323366383631663165396564623631653362623438336464356633303538
|
65343633626339633932633931306339623662636565653534376263343562353363303663353938
|
||||||
64346435613736633839626561363161383435663333383133343030653835323131373937613435
|
32323561663132383531313533343163653732373938306663313832333261316462313233306537
|
||||||
31396661613534636138616336333538663835623531313835616266653662353262616162646431
|
32383131386636333532373865313236613730343161653265333636303032303139383538336431
|
||||||
34393366633433643536666230356635376332393632333531633139396432613463653030623564
|
36663465313138306139393735303935393836623535373337616537646333336465656265626636
|
||||||
64356232653337613535326661633539333663316566616133663338656139656639393538306332
|
38343463323038303738383132623362323861663665316136336366633134323634623665653033
|
||||||
65333036663563333733383439393332386137313437623834633231646433653233623037346535
|
34653330353061663737386232303637306239396538386361333632383733663635623438383666
|
||||||
62386262373032646230303764323138623332353236653461393838316663633033353339623132
|
34363463353964336664386165663134636538343839656234326565313834303031623335636461
|
||||||
39356438653366633464666638656630333438323936333035383764396334326637656238383932
|
39373465363932623632616536623934326364346239366332376435366536396464306666383963
|
||||||
36313165353534336666626664373033616132643536366335333466346631323262616239343564
|
64643530353134633666353666646534303366653635336637376635353238663264626465636661
|
||||||
38376135616264313461323739616663326631636431633937366534646366383430623062316537
|
38653261383835363130653965643533303131613230303633333663303761393335366137323538
|
||||||
37313536663139656235663335636665633634626237303365326665383965636265353262643362
|
33346631663736653266666432636661653565613037336531626236336465336334626363666138
|
||||||
65323963326430353362346235346434306133376334613831396635373936666565633232316465
|
66343364373737323361326338623061313165623232313036333062636132643261363830353833
|
||||||
61316135336633356534356363636130353837653435343032663361363335623164373835613364
|
65303835646162376431356436366439613564353362363962353062653061623366666636303661
|
||||||
64643365616165393436376263323439613637326434666639613164383066306365396463633633
|
35333430656166373839626535343536343061393232306366613730303135353732326531666563
|
||||||
32633332346335623831383734653838323436346463633435333530363036393838346231663932
|
63323038373066353935646538376536636465616231356234663866393862356433373033313734
|
||||||
38356663653066323966626137623334623739666463366166646636306638393638356332336630
|
61326564636565666337656533326537383061303038613132353634306338623133363934316237
|
||||||
39626534666235613237343634313933653931343831316137656439653266393663343930303462
|
38343364663238636338333234383739393539653737373533653233613037393564336162653131
|
||||||
34666266653162323231376564393662326430353965383364326337363333666562326262326233
|
64636233386536303939373033373631663764626564646639356136306337643164386439393231
|
||||||
36383733646362303330303934326533653365643538623039366265663931613031373862366634
|
64613737343932313635366639613064306632353634303464653938326337643137363139653665
|
||||||
31343835626430663962386532326666346261653236613132373535303937386535303432663766
|
32386266356463353431333535333230336235663433633435303164313736366539383265663139
|
||||||
37313932366562643933303434623234393765363464666362323635646462326438303333393132
|
34383261303330663131396466303734393332363230666262616535363038333331356165656135
|
||||||
32393735303039623135613033636532613763396362366565316536323933366631663765333033
|
38323733623733623735333035356661316164346632323336393464663266363164613463376234
|
||||||
34356536646339346130383338316162646530326239373235663632643034616331356533363234
|
65333966643839343030323232323231383933343931323062653661353964333435633037303161
|
||||||
32373365343435343561623265343237376265663039653634663538313062626633373238356262
|
37356531623064356635623764336339363635303563653233353466356234396664396136366464
|
||||||
64356431353936663536363362626165383662343835626238353036393235343034643465653663
|
63626632303835396164643037653936303739383730373639346261643735303734666237633136
|
||||||
30393861363965636436663732616165393231636235316533663264383265323763656536626166
|
61376665353234333263323032326233653233323438303037306665363932383932646133616263
|
||||||
32363562656266656331353262356435353030323330663032653930363437313934633265333861
|
64623635396532333062363230363530613338373631323563363336366231316638616139376562
|
||||||
33616531326633383237323231353866366531636437356230636330393533333331313566383138
|
66316134386365623438616261353135613066303064353233366664343065316536653165393633
|
||||||
38303562643435383736363036353138626561323530393736666236346639326162383638303165
|
63346538343530346434396362343363393530343034353730383665656666386661613535643764
|
||||||
39616361316632323936653734656264333764356431393635613833346434303861646264373337
|
38336365363764356266393261363235396439376264613932313663323638626566323261316232
|
||||||
31623435646463346630336235653762656561633035343332636135393464393332633139643761
|
64613462303263623765353232303831663737336666663866306234323638313734353039376365
|
||||||
66613964663862626664393133326638343336373962343566646231356261386339393162313438
|
35343133613334306162323961313232356133313338383535316135323930333339663164336430
|
||||||
38303036323132353132653633333064346338653566346437356633666565643730343763373137
|
62626533343734323634306437663437396534356465336532386463363764613639303063616234
|
||||||
36363432346633626336373934646635353264623834303431313466346536653839366661646636
|
33643631323833616532343335633633656332336435356161326339326663316532343161323365
|
||||||
30616461653938633562613536393864376230393262313663666634303566333766626435643333
|
32303736346437366437346237396136353134323162633933623034613735646131373664616135
|
||||||
63393461643266643538343132356130383262366463313132383239323838636361653638653437
|
65656261366432333734353530356663626333616631376433623566353634303862643733323534
|
||||||
61383936303836323931666164373963656138343962326135623565623930346136656566373335
|
33303434613061653561363066643161613266326163623864396366643734366663636433623564
|
||||||
35623132613663356430363139323936643137393337653438306361316464363734313135356362
|
34303833653164646434356463613132336533323561633133623562613266653861643762646565
|
||||||
34636566663636363933363462666635643135323631356262323635323932363035323763623734
|
64646164313531633437636432343134633330366135663334653539313738343638373433666438
|
||||||
34316637626263313734326466366364313732383465383062326137646262383130313365356463
|
66653531356566316435363865633133623035663764396463303632363136643338333664656462
|
||||||
38376565396339346463653833303361646430323636623830646233633362353838333131386461
|
34343665303164323439363936386139303366373234613462313631666364386162333566356337
|
||||||
64323464376361333239313739376436623830393937353934386339366339326439386564306434
|
31666633616265303562396362666532616663343036663138386164386462353363396430336434
|
||||||
66396136656463643462353663633233333931316532346162653961383334656337636261663266
|
62376230386566666636363564393333376564623532393435623166333565636637356266356464
|
||||||
39636331353566343966616166363066623561633837313062633038633137633264346663623730
|
32366663616539626461623534376461303735313565333539643739353866633135313835343434
|
||||||
31336438643536396134643338316637333562663639366133663637646236613963353966643938
|
34383834316630626263306132656562613361306464373733333731346131306163336631373266
|
||||||
30366364643165616435353062323330396631326137633034666330376633353466336230643466
|
37376537623434613864643666336261633632616562393537623861313536613636633064356334
|
||||||
36626366313639373331303734353862336665643962303837393164616266323433316665626436
|
31363935643361643039643564313762626136363563316465626263376162333861333231626164
|
||||||
31303137326331646539373863623638663839373461363135326132646632343764656538393035
|
33353536383137353565613035643136346234346632316539373131303633383039633666613832
|
||||||
30663833653236396563393634373364306536323965656331666465643762643036633866343139
|
66613437316664353132386334663339346533396630303530376239383933333239323136313539
|
||||||
33343438333137643733616530666466376563653535326261633933303539383032643439383030
|
37653432353863373931663734333364363662623132366366383737333034383638376261323734
|
||||||
32643033346463366335303663363339323866316437383366393731373034323763363562333033
|
34376364646366383163396636316435653739666631623063306261386630313765623934663965
|
||||||
35663464336636623835333632623166623163323237353831643666343564303632646539623461
|
66613365623539313338333635343432396563313936303635636564383961303237613263316566
|
||||||
61613864326438653935396434613761376234306261396262323732393338376339613866643639
|
65366631393030373663376334313630396162623663653964323135326634616564306337333762
|
||||||
36386537363536376135323862396363323062356161353638393063336466653437323838633862
|
61663836643934396662343566343638656233343861636366363262303562666563643665663936
|
||||||
62663738353235663230636639616638313237313638626334633061633535373733613734626665
|
63343031353063386261396533613037323130373061313261663865386465366136393364336261
|
||||||
38316464643035343261633466343238393632333530323562333066326334663932643337626530
|
37353961323762303763383738643166643366383363376633373566326635343638646432323037
|
||||||
32373366323364306236653465633964326539646265346466633730396236366638313032613363
|
35346636376562313963396361306465363436376337653032336238353766643861636133303231
|
||||||
32323332613562613835363433376562643431623266323131313031316163366137623434323030
|
62663731656161343866613465386432636437316336306630616261656436323437346663326536
|
||||||
34336234363861366435393532616466363631313535303264643765346631396564613432616363
|
30393739643331303938323666323264393938376235326536343830396238393539633536376339
|
||||||
64336364393563396132646166313163323666373638616136313061386561623338656538373033
|
33623739333831653439343831386638316665326137646262613261666333616532343735363465
|
||||||
38373166333762323065326464363134346335653236613530313235333864393265383633663637
|
37386335326166346563393865336662633735623166326436386638333030643564643936313036
|
||||||
32363134313230333039613137306135373964386230326561626137633133326463373935646239
|
64643864336534333034376232653138663264383530313338663561383938316230303036323765
|
||||||
35316536623932323135306233383332333832396338366561666565323462656666363834346431
|
64303435396235343838323766626138303365383264396534616130386431373061373532363334
|
||||||
61316139343634653538396233656262396466376263643236346438306630666534303337323565
|
36613037333966386165663466396663356535323336366531383632633032353037353337616637
|
||||||
61343636303564363132393236363333653263353061376330653534333762346130653561623039
|
33333432333061643738623037653564366263316435653233303266663133616662636236656134
|
||||||
66656135393864313934393233663738386430333534303432396534623831333363393439386135
|
32636339613533653338623163636563373435616134636663646437323062636565316335663462
|
||||||
35616436303439653132356530626138373934383962396564646237316665323538396666366437
|
31333365666631336136376133653933663634613662363265333137653066386439613937373838
|
||||||
30376339383233383664343965306534386166613964313534636261316537316637343631393836
|
33373935323135653364396536636438313762303764346138373136383934623838636265323066
|
||||||
30613761323964636433613036653631303434346633623166636139326637363537613833386165
|
65396565383131633039333230393464663339343566353634633737636464373330633936356266
|
||||||
34303032346137623736373563303464306232663066373931626532373639343535313830613135
|
61313964636137666365623261386630653030656263373033333666643135373633626534653432
|
||||||
66656261646465366366313436313139376136373939396330393464346365383730626466613530
|
39623761303039393764373261663432333434343862623364323331333839643033653065613634
|
||||||
36303663626337633735633636666164366237323635383664333938373362626164386233663165
|
33653934383233616335396436383065303239356331646165323334616230613137313435393562
|
||||||
30643432356433346536663932616530326339383736343036333663383039613132303263646236
|
32616331356632303662346531353232323732666431623464623061356336643832666634663433
|
||||||
38633939383866646534366663393434373464616165633335373034306133393666326439613761
|
62373463656437393439333765626331383833303866396639303661626664313766346361353864
|
||||||
65373661346661366437663236663236663632356466386564376163636636343666303535653661
|
31636534393938326539323739356362353031356664343136616432363065363265336536636530
|
||||||
66646465386133353539323863656131653238363633336239376131613531396336313562623331
|
65316165643231623339633666386263386665326237323438333537663266666237363966633063
|
||||||
66393466613461393931343765303565383730356131663533346133386337316431366461343731
|
62373236346631646431373139336534643237646131373335393166626665373039633566646662
|
||||||
38646562613462653733323163653062663332393438313238316530653165363762313537333961
|
35623665643835346630366336366231383866333134383939643639393962646231383432656630
|
||||||
39666635363534646232386538396530316232363130666231643363336361336339653461326236
|
37316332653931303234353538393933336461356636353537373432306364373565633666633263
|
||||||
61373932346234343537366433386335353636636666326164393364623035656530333036363632
|
33616461613731393665333265353436663034316134643062343362613934396631333532636339
|
||||||
30643836393939646139646134636362336332383836663862663935383536613031316135613137
|
63313334643238333338663834356565613161323030663136636161623333653365646130666137
|
||||||
62613065363265666165363732636437313536383037313863613937656437316331356630636161
|
33376265636464646337653763636138356666393733363735646131383261306230646135303666
|
||||||
37386335303237313365346134356266336330303134646339353432333062303931336639613365
|
32656461646631393630323534363961346337623563393537336336363538356433363833356131
|
||||||
64353431373862616363616330393034396630333232383661353533323034383762353062303538
|
62366561366463326131393964313033333165333436633334393066303532386630646233343734
|
||||||
62326433366439393030373163656332353636343432633133626139613535363063353263393761
|
62303131323630333664646633646334383333346662613337363161356636643066393938393366
|
||||||
65383238636564663061356561616430633033323233336530663335623538643466343165326434
|
31646131633232373661626436363665636566633638313539356663353063323039386438386330
|
||||||
35313835386566326138663736613838613064306238383063376530636362303938656364653436
|
33653738663233343763336264623335393531306331613338316564313137353730323261333166
|
||||||
32313364653439393132353961343264346231333732323537623065303839663939323466613834
|
64396162363238303831346433373736383662376362653130353862316230663139313966353039
|
||||||
30393138346632623236356130346538643934623762663538666432343065643465663164386564
|
34666364336561663936613134646665393362626366663039333963336234653962613062376337
|
||||||
39356565646566353830383338623939306161373437336230373166316530313331626139633039
|
32343736653031653164303564643932356635663836366136343530333166653232623264376633
|
||||||
32336535633839643532626632356464336533623766626233336335366639346666663931306536
|
32343366313062313963333133303966303333626261373638356131326239316531393463373735
|
||||||
64333239613736343534353663383232626638396438653262393835643138353466373936353234
|
32656633363064633832313537366538636235653830333165393539336133363065393165633734
|
||||||
39626439663463636237306630376231343537623262313635316164316539613231343565333532
|
36626435356462326666666631393564356539356263386236633435386635396661343966623763
|
||||||
66363539626638336637396532386437363438373530393165613434616162353561633839366533
|
62626164346131616661323533353361666633353138626661356362316261663662333034643761
|
||||||
35643265646439393563303433386432316663643165613065306461313939636133613733373138
|
62306566373930353238616337333435663838666263666566313463613132663333303835663335
|
||||||
31623965393466363831626135663335646661373136613934316532333964346230633238646539
|
37363531656136303530323630633437666232633931666564363966616662316231373636613464
|
||||||
38613732393135363430663334316162623330663865393234343730653434386462366234343332
|
35366463623964343239303736393133653962353564366637303264633531643635626334323561
|
||||||
39646636646630303964623662663437326161316635646361623833343136373333336463346230
|
37393966666564633865323135613766383533323161613632316132643466376535373233343030
|
||||||
61353830383364393137343134306665306633396632633634326339393331303231343461623364
|
66616463663064343766383438313938323763656266383337653166396137383538396635613565
|
||||||
32353131333133323939656637633664663437316666623438666335376264353637323562343935
|
63383239643439376137626535356635633832633662643832346438313330666566393263666266
|
||||||
32336261653664303965316132353764346663656466323464643434373736393462616166636162
|
32353534626239626430636133613633633833336563326136366463323666303132303630366661
|
||||||
66336563626536656533316165313735386334393533623038656664333438376536396264353030
|
39663766346638396330623830623237363734646331376537336265393839613737323437306261
|
||||||
35366532613733346366353366623630306630623130653331363165346338343832373338393765
|
65306631353563373961663530393161636539623264313364353731326162383663393466353136
|
||||||
30336130326639333334393338366362646235383635343139643136366630373761386438343130
|
33373337343065646331656639646236656333643033393634383033313636393466376337346435
|
||||||
38613831663533626632623632653934653635633366353130663538326538316636383262386433
|
32336431303834643639343263326637626133363034323138336633306231613936366432643762
|
||||||
34326163363136613861646438323132376139306533643765316435356363643235616365303932
|
61353562306439336131616633643638306361313236326339376135623966326331636164363438
|
||||||
65303737306339633330633937363638663337636538623535323637383761666461306363616338
|
31643132636139616135353339343730656136663962336362373062313266316330386366333134
|
||||||
63356364646463346437303665376266656466636265663864663163333032623836646533326437
|
65316166366331646530323338336238653137346536316132333039373830333631323539353464
|
||||||
34316131633031363966316238643163613838653061383734366631653733633438313038333432
|
38383563346161633739623030303832353133623432303736666566636537616661613034633233
|
||||||
36633963653366353431386261303264323931353465343333323339613138313562616464663931
|
61626230383962323533343661363935343630303731353730666231396263323936306234626630
|
||||||
37663636376633333033383666323161656234346261363536343134343566656530346433383766
|
39323764316262623335353264646533653739306464636138663831313934376465663630356136
|
||||||
61373166666530323637303737653733396333313335646666613936623630303262306565343239
|
35373564333038393831656663396636363237316632303633363438393162333035633066663866
|
||||||
35363639393138323062393436306466383831656638666232616466343065363464313333333162
|
34383531396138643464353938393366636561363334666430393138623337356664343639643862
|
||||||
32393539623737373231636235666233656132383966663964343161626563383965616161623666
|
31343030346139366439643235346639396536393833316332633337626530343831626637363365
|
||||||
31356461653264353239356433646132316462386161356330663932353461386339346530653232
|
63636334336230643933323034636466623262636532623761383766393965623461633832613064
|
||||||
33306566663061616133323230643930643030386633666133313132353436336135383336356563
|
65353933653131363634363936613735353637643435383632323864663039653961623238663865
|
||||||
32393838333532383637363531396234623038386665336363303731376461306630663761303139
|
66336561373865643235646561656139363361386537656561653564633061393334383939623935
|
||||||
64333130356538623032373839313864633561316565383434383962353738353666636366333765
|
61383836643234383261616662623566626662613934323465656464653966616533316637383733
|
||||||
34353334646365616234623031393339663666633765636432666666336261343761333733396534
|
61613137336163326261326563313632383165636139643231313230306330396636633233343732
|
||||||
65303064643535383866623363333162303333393461313964396365363666313134333033383233
|
39653930393533353664666236393130613530623338323362623834656562313534363963386530
|
||||||
63393837636161653031633066326662366366663636313666663834376332356336666530396263
|
65663864626432396533313637323661323166636137333330616466393233323862343766326533
|
||||||
66326634376365343635666130333936346133656263343463613763393738393862353934343237
|
34386234383835356234366230396365613135636634316162653439613131613763656134386638
|
||||||
61316437383830636264326564346535646635386562613466323832343665636630346462333863
|
39356134613037353533306564633938323331663263303831336232303535663532393535643633
|
||||||
32623537396538643964663936623031326265373066313637636232363364653538363064613262
|
36363164316130353630663535366339376438663166333663313134623431613865383136366563
|
||||||
62306561373133373532376366336637393131383233393036313161363563303666303339363230
|
30323739666165663731303363353836376135313562333266623262303033623562626133626135
|
||||||
65633263363064633837363362393632383966366337393030353132346465346463636535303062
|
39393630343731646630626636346432313035636239396536373233653934383031663434353466
|
||||||
37316665653230656363313937663636336336333136306536303861303439366531323266336662
|
31656261653735343832383036373261323963393036623234306633326363366565623366323065
|
||||||
62376339646334303233376134323065363938366162316461626566343235303761633132383433
|
33623062613634316439373765353034353464303230643662626139356364623765356366343462
|
||||||
66303435633336313961333734353236623536653739336164353037343334386163326432303031
|
31336362343361613865623233303034613765376234373733363461333335656537336430653733
|
||||||
37353630346164633766353365613662373936663265353962333566336238336533396639373839
|
30346530356436656561313639633238396364646537333762396331643836343062643232343231
|
||||||
62346564646261303762663366303939393963393134303730383038326562353837623130396439
|
33383234333966643537323164313463373137363334323433393330373139616330373034613437
|
||||||
66636535663137333535393864613464636334363132376562393531376132333230346632363230
|
37616534626136656134653231373438366239316664666263663764623562633966393734393932
|
||||||
32306363336638326235663466333236646130336539333533306236653861313465343661613235
|
39363033656638653331333435623734383365336264633536616132343133333939313332353063
|
||||||
32643633633832636336313431653134623234303534363838306337363164326531343061306264
|
32613337653935613861386234663935636130353066383432316131343262386539633731666539
|
||||||
62643033326137643461636534623965343161636437326165303536343135393163643734373936
|
31383337373365336531356265393339353233326266333264343535343932343331316664333035
|
||||||
61373237326663616461326462393431633765346330313136383030323736313533313662633438
|
30333633386663383333646362316435323137616239316334333836393131336130663966353133
|
||||||
30616335373732303931643131383732646261333432323537393736313438616336306439626535
|
33666230393138623239666266643361393464333938363162353934363962666633656437336666
|
||||||
65306137303464636330303765303663366436353063643434383631376462303530643836366632
|
32643264626464393737303864303938316638636131323936373333353130623631626266616230
|
||||||
64613730316439666462613534383561343632323832383336636535626163316535383833313834
|
36386537326464373062366339303564386133653033396439396238633331383335613336643766
|
||||||
61383433643637366561316665346335623135323361346532656139353261663531396464343638
|
34623133373835363835663134356135643931626563663339613561353465666563393138356635
|
||||||
65653137303664613562333661363636623533333735616231623139343661353866623864363533
|
39376365393639376365353362386635623063623461386539663138343132383963636466353564
|
||||||
62636131393364643938363463303465333430386564306531366436316365613063623866666666
|
30326432303665393636613239313838653265386563393062336436626138313265643636363137
|
||||||
65653261363562653363306331666566336462613661646264306361663835633162323032616236
|
30323166633364376365643964386135303530613435363936333962323935336361376236666632
|
||||||
33393663613762313033396136356339356538376633353837613366326634303438373036633362
|
35656631633264663935626263393930633430373261643661643333613164343434383038653534
|
||||||
30613361633037356633376336353539616134663561663462633336373836373736646363306165
|
66333431373135636339663364333133656534333631666538616632643630613865383330666233
|
||||||
33323935313131376531643733353965353761393532333835616534613062373237353932656234
|
39316564663065363563613663363436333236396436366134316631376635633638393666323764
|
||||||
35356538633032383961326562346161356231613564656336343039616339306335666563323464
|
38353862623931303731386239363264316132343737396564383635663137656330306264393430
|
||||||
31393961636330333966306332373837636135646465316235653533626261393865653932613930
|
33376564303333323530373630633734326535663334623863616266653661663563343533316430
|
||||||
32376539343530326138656361356238653238643830663636656435383634336562306339366330
|
37393061613064383232376637383161653063366436613939366539646261343030663161656461
|
||||||
37613663343837626661383235303238653533326436643236653034636139333630393934633462
|
36616235636262316261363563333036376163616365386266646436326534353630326637393538
|
||||||
39613365636262613736316530663732623837653134653133363032623931663933666262323035
|
30303237666166373231393737353566376433623236383366306563633039303137623039643534
|
||||||
38666662333835336464316434303436373663353333396162653333663234643139386332313762
|
63626461653264336663656265623538393034363036396561366437336138323731656534343565
|
||||||
30303365646236653362376464656165366536303331393935303936306639656331636261646530
|
35316634376334356532346636353961333630336466353439343037343566343131633063303561
|
||||||
39333332626565343964623136643734643664383662663133663431353161303639666437386638
|
38353735376161316432383734353832343263643937396137376537306434363762323437393332
|
||||||
37653332613865636666373634626466623638326237656663323734303363636334643430626533
|
30343964346266636330613831313331633036613736373763343663396334353133623066333138
|
||||||
39386437366430613737376433366539376637393963613137633162653130666535313363343437
|
35666133666639323766663739346434636634356465623733306461343962396361386434396233
|
||||||
39363232366136343937343131303438353837613335326437333166643336306638623665616439
|
38353436623461363238346166626165353434323731616664326265653732326438636435323930
|
||||||
65616662613331623137653539313462336138633739623036623264313835363435303262643031
|
38343833613261623164336430366234656631623538393434346666633636663732336563343832
|
||||||
65316236636432346562643262353663656364353536666138623437373334623131613238353763
|
33636336663930303131346462613630653465363965666631633865303162303933613462363930
|
||||||
61356664323066356533616563336231393432643038306464396664333236326332393161373963
|
39353632393062353565616663323533333462376434356432636361333666623166373163383139
|
||||||
32663435383363356563363134623736363966613834663933633963383463313335643036613633
|
33373034393033623561373338363533356435653639393766333133646230356333636162623466
|
||||||
63336661393531346534373231316537353539373738373433383666313435633433613031643538
|
63353163666638616631383135376239353364343966386433376132643336636139653063363563
|
||||||
36326135306139353032656230663734383437623439333031323163643230613866323535663162
|
31326436333165623265336537326265316266613532653664343162656636356433343836313732
|
||||||
37346161303935333966346565613234356331333031656431376238336438666239623032356435
|
37373466616231613838363738393663663432623535343532316461343034353636363162376563
|
||||||
36653235663664303235303933626163616363633866393337326430376335303736626561386231
|
30336562353861636333613834663139346639303236393737373432326663376130306134363532
|
||||||
34376563633963323565616136343765316365383538333765346365653432353261346533656661
|
34353265393736623962653934356133383037623531313565323538336137623063353230623165
|
||||||
30346433333639626234643630366638616563623133646666323061366530646264363566333530
|
63616231316530356665646236643935326138616564306363663633653166373239316131316236
|
||||||
32623161393733383036336238626236356361656633343732393438663937376163323865653366
|
36376466613164343832613234646234656131376434333236343166333833346664663335353134
|
||||||
34613035623230613362346337343535313139363636353536656131353139363835616236663863
|
33313232363938366430303933633434356137323162323066306634383137336362306639303837
|
||||||
62363666396338653732316133666536393663663030313531616437343761613637636233313431
|
64366539653530346164366638643737336265646632363230306562303233343635363935623736
|
||||||
36306566303832393136663963323836653561653664666661356461313131636435306632343836
|
31643561356435343337313466666139393334613230383431393131323837616262333230653030
|
||||||
64613839633264343239626430363632656162343233626330613538663362356561623965336232
|
64373535313266303338306634643335663062663832326661663335656230353261313430616661
|
||||||
66393432343132643039383138323733353463323263663239303233316366626437336531313562
|
39383031363564666432366632396632623034373631393862326435326432633964316136343630
|
||||||
31626561663962326431336138643438623836633262616533656434343436636134333066613065
|
36646566356566643231373638626433623539376639303564623034623532316138363262333265
|
||||||
66633663643632313436616533326163343733393035636433303336613463333532633066633565
|
63343135653533373834336661373239643332633338343232323331373738326337626134323864
|
||||||
38613932633632353434393433373738326166663764383765613136326630663434363764316431
|
62343762376137343464373232623562343862663466336661663565363839306461393263353365
|
||||||
35353562653363363533363538646336646666393564613933303066333033653965333033316163
|
30656466353161653865353034643063663839393265383237333466366464636534643833376637
|
||||||
61393666383935393261373335626262313661653639643830376265633562356638326336663432
|
38633037363834643536613366376235313439643638626364333864313065343335383462376665
|
||||||
35333936313866383432666239313630613661613433303330363539303462366237313533636263
|
35386661636133613466626363356331346238626339613866316463383263313038626233656161
|
||||||
63376331633865396639643530663237326338383535643930653233306166343834333061346463
|
34613435333932353739616334653038623362613030623435666235343134303661623434303864
|
||||||
61353734613765356165346437336137346639616561643238613565323938386161326139623861
|
34393163623430646530393461383166663832346263656263336366386132633038353839303363
|
||||||
31643866393765656263646663376638656237323532363935353961633361623862316431643861
|
66623563643736383337623536346535376533353231383735313435393930343064363962373064
|
||||||
36333339386266396132613066323834376265396563326261646561323434323639343561613161
|
62663565616564633637353331333236656562353332353263616137636536323237303266376531
|
||||||
38306464383031393633363764303930306163643365333532363138376365316239363361643962
|
34616538646134373464363039333131633039633033616465383533623432373239353235346630
|
||||||
30393333646233363564643661373865373034663131656331386631616466333166373331643963
|
34383466633862313539373738623065363536306661386662663932636163623830353836383666
|
||||||
64346234386338663464356165366461353365323737343165616439646463353661323534323331
|
63393438313933356431386137316137343130333232316661323432383965333361323838646439
|
||||||
66643931636631616331383065613334333262633639636164333165373237623235316434326531
|
36326564613262346134343135646335653263356664313432366338383763323232376166346132
|
||||||
30336663373437343264353032363737633838303034396561303035656234653333636366343463
|
63623563663030323239326161643165316138326630373737333133363765343462356664646432
|
||||||
30393966336664386434303764356531326665376230623830303237346261666162633864393866
|
61313561653333653837613932626566376666393666396236366163616231623963376532613532
|
||||||
63646332616135653138333437356565643333663730333263396466303234643331653836356431
|
65653435613465323832626461303663343061646466303937343938313434663937346563663037
|
||||||
37316434366533316132336238373833346165303062633866623033623037646461346263623734
|
64323863656238383063326164366166623339306661646137333165313662303030353966333834
|
||||||
62393039626239393435316538636433333634616161663833653564353637663864373264313530
|
62326431363636313932326265633561323336626639636233326161383032313432353664356239
|
||||||
30343533306335623130
|
37373065323230326264633965343538386638306163666634646630383639656538316430656232
|
||||||
|
31646638616137316639383866346562393236373966343935303033626131636463303935626664
|
||||||
|
34393561333339663235333237656332646165663266623932323439616564656636666238623066
|
||||||
|
31376139376138653466646434356365333630396236656133306135363639663730316632393165
|
||||||
|
62396137633064616364626537373663363931356436323731363762633039383137616636366436
|
||||||
|
61343063366262343166303161326638356637373364663862633936383766333431316435336164
|
||||||
|
65323133393337323436623563323838356366656438653733333165313262646163303361626335
|
||||||
|
62616137653137633561633837653330623337356639306564653831333331643335623232306330
|
||||||
|
32393762633631363539636334323837323237373631633837636536363831363831663534363730
|
||||||
|
30316233666262613731613435626239303738386537616132613730633935373932323066356131
|
||||||
|
66393238333432643235346638373339346662363837313336633361323839353164373831396533
|
||||||
|
33326638643133306461636466623536393536613635663234613166653161613635333339353663
|
||||||
|
30356134653036396337656261396162643534313231373665653962643065666466363431333738
|
||||||
|
37626338663738666564663464313731313361353337643565383430643761313638666234626236
|
||||||
|
64646164353737613661613836336361396264386266363830363733613533303162666366383034
|
||||||
|
66373432313236613461333337376539306535316435636534396632366639353061613461666436
|
||||||
|
37343663366239303365626337366263343363306636653531643566623863393234393532373032
|
||||||
|
39373336356263613432303030643436323730323963613539616663663034386638363335326435
|
||||||
|
31633434313963356537623231366161353035356634383262623035363734383438666331303530
|
||||||
|
38313664653063383838663832636264626563323965353536393430323136633439323764363333
|
||||||
|
61306134353161316533
|
||||||
|
|||||||
@@ -1,26 +1,31 @@
|
|||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
34633334666530383466643739336536363136366631613464383161656535656466616261663232
|
62303937306432656235663330303934363930356632333966343535366438343261323139386135
|
||||||
6237633664336364643136643738643563653637613136360a363431663336626432616538623435
|
6238653639363962373032656433623835313834366431380a653866666266313861643035653638
|
||||||
35373839383830393334663037353262653763353935623332383534376436613161313934316338
|
62343639336336353130363537356635653661333463386637333331353162636438393462353161
|
||||||
3930623638356537630a616339653631666163376134343535313235363234356664366234663038
|
3531386264373537340a653431633436353030303733343738616431663831316238613930633038
|
||||||
30376239633164643335336166663737346262313864626234663839333132386232346139666131
|
62353466313762366561396366376363633132383438646362386239616362306563316461626438
|
||||||
33633463353330343037306365666463653039643235333566663164313730663738663036623539
|
37316232373664656165396237306333336433656464306664653566383761393636396537653331
|
||||||
64636663613566656338636638383066353562306137376432346639316533303665613463333832
|
30666631383234353064313061306164613364326638356636633636343133666638653261366339
|
||||||
37313361623639653533343536616566613865353733656338633833666263323433306431633635
|
37376632336133333736626130336165313735313033373138343662396265636563663234376138
|
||||||
35393333346134333466323239666335613862663935353662373833343635393532633461653932
|
32303137646437626435376463323539636264666663636533363733616637653934333936633139
|
||||||
38303034613166336632376264313961336665303332306165636663306237653336316330376236
|
36363162306237303931343133363238346231633732656535343963636262316363613434336363
|
||||||
31313362616434663861333264306661653532316365306138333131643731346636646365353733
|
36373339336332633332626534643762643264653365353062646663623837626463376363363161
|
||||||
62366335643566636631633630336231353666363965623664376231363164313362366164333431
|
31383865383166396663366230333334373037376333383938363738383862313736313261336234
|
||||||
33323632366335646137666466316530613862373162376461623633333238616637373336333064
|
65326434383165363861343131363139666238646562383837653233656365313932653163626564
|
||||||
39303761353139656333663362303365316131646633303238623031386137656263646364373163
|
38633761343338666662393333393165316563346636636135663133613062333836313561333963
|
||||||
36336633323266393663336462626236353466353266656264343639303739313362313537396238
|
39663733393738336336626438323365366566333331373433326539653565616230643936383737
|
||||||
36303637386266386665663163633438633763386232313861653438303965393938656166656562
|
38356434323433326432316265396661323964653039393164663533653731626162376134616261
|
||||||
63373064396135346361633739663534666230356566366333636266643932316264343339303833
|
39613666393764636331353764306531396339373032636531353165316437616464653237356536
|
||||||
38313233643536356232363636306363333463323133656536366662323963643637343365643035
|
66396661306235333732326136306439316362363063313837383663316361313731303634383331
|
||||||
30393061343630633263303864336438653339323264396434623038363464366235626235326464
|
30626239633235623164396666396533613734613962653030343334343832323664353431393636
|
||||||
62623861333264616331396230383831346163303433653236663738396164643937643663363834
|
38623838306239326537383765643036643830303066616232313935376635346237366434396162
|
||||||
30316530623433313633653639363065343264353630613436393237363930326632343230343538
|
66303932656265316463363432623037383462333638376430616562313238393762616263663138
|
||||||
64356230316530353663663534343739376138653266323037336163386130623361613632393037
|
63326239623666326636396361353764386363613364643935666339336565393830613435373231
|
||||||
33376232666337316536613763623066653431303366656333646361613839323831623562613266
|
64383265666661633664383031646530653539323037613837356638643335653235323135323361
|
||||||
36323263616364653666343264303338373232343063313266653661323933656662386237323637
|
37333731316234646135303566393439363338323264386635336432623862353661313962663965
|
||||||
66666337356337343864613034633934656461653834306338313031366432353263
|
35333631336233366364633537396234656430373832326334653030363635626439646532643032
|
||||||
|
30636666383865313737353962326665383936613434353830636561323439373537613538393836
|
||||||
|
31353164613631386665353762343938383766323739363363633634363433623039376564346333
|
||||||
|
64323939356238323462346562616335383437326233363838383930396238343261633863393232
|
||||||
|
39346165656662626631376362623663343164376634363532376363623737613962323434313339
|
||||||
|
3133306237396463313938383035643034616133336662636234
|
||||||
|
|||||||
6
hosts
6
hosts
@@ -1,4 +1,4 @@
|
|||||||
[ungrouped]
|
[ungrouped]
|
||||||
jade ansible_host=fntz.net ansible_user=alex
|
jackson ansible_host=direct.jackson.alexav.gg ansible_user=iac
|
||||||
jackson ansible_host=direct.jackson.alexav.gg ansible_user=root
|
nas ansible_host=172.16.0.29 ansible_user=alex
|
||||||
nas ansible_host=172.16.0.29 ansible_user=alex
|
bear ansible_host=172.16.0.44 ansible_user=iac
|
||||||
160
main.yml
160
main.yml
@@ -1,18 +1,27 @@
|
|||||||
- hosts: jade
|
- hosts: bear
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: traefik
|
- role: traefik
|
||||||
tags: traefik_deploy
|
tags: traefik_deploy
|
||||||
vars:
|
vars:
|
||||||
server: "jade"
|
server: "bear"
|
||||||
|
use_cloudflared: true
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Deploy Tinyauth
|
||||||
|
import_tasks: tasks/tinyauth.yml
|
||||||
|
tags: tinyauth_deploy
|
||||||
|
- name: Deploy Postgres
|
||||||
|
import_tasks: tasks/postgres.yml
|
||||||
|
tags: postgres_deploy
|
||||||
|
- name: Deploy MariaDB
|
||||||
|
import_tasks: tasks/mariadb.yml
|
||||||
|
tags: mariadb_deploy
|
||||||
|
- name: Deploy AdGuard Home
|
||||||
|
import_tasks: tasks/adguard.yml
|
||||||
|
tags: adguard_deploy
|
||||||
- name: Deploy Glance
|
- name: Deploy Glance
|
||||||
import_tasks: tasks/glance.yml
|
import_tasks: tasks/glance.yml
|
||||||
tags: glance_deploy
|
tags: glance_deploy
|
||||||
- name: Deploy Servarr
|
|
||||||
import_tasks: tasks/servarr.yml
|
|
||||||
tags: servarr_deploy
|
|
||||||
- name: Deploy Dozzle
|
- name: Deploy Dozzle
|
||||||
import_tasks: tasks/dozzle.yml
|
import_tasks: tasks/dozzle.yml
|
||||||
tags: dozzle_deploy
|
tags: dozzle_deploy
|
||||||
@@ -22,83 +31,71 @@
|
|||||||
- name: Deploy Homebridge
|
- name: Deploy Homebridge
|
||||||
import_tasks: tasks/homebridge.yml
|
import_tasks: tasks/homebridge.yml
|
||||||
tags: homebridge_deploy
|
tags: homebridge_deploy
|
||||||
- name: Deploy PiHole
|
|
||||||
import_tasks: tasks/pihole.yml
|
|
||||||
tags: pihole_deploy
|
|
||||||
- name: Deploy PocketID
|
|
||||||
import_tasks: tasks/pocketid.yml
|
|
||||||
tags: pocketid_deploy
|
|
||||||
- name: Deploy Ntfy
|
|
||||||
import_tasks: tasks/ntfy.yml
|
|
||||||
tags: ntfy_deploy
|
|
||||||
- name: Deploy NZBGet
|
|
||||||
import_tasks: tasks/nzbget.yml
|
|
||||||
tags: nzbget_deploy
|
|
||||||
- name: Deploy Tautulli
|
|
||||||
import_tasks: tasks/tautulli.yml
|
|
||||||
tags: tautulli_deploy
|
|
||||||
- name: Deploy Tinyauth
|
|
||||||
import_tasks: tasks/tinyauth.yml
|
|
||||||
tags: tinyauth_deploy
|
|
||||||
- name: Deploy Code Server
|
- name: Deploy Code Server
|
||||||
import_tasks: tasks/codeserver.yml
|
import_tasks: tasks/codeserver.yml
|
||||||
tags: codeserver_deploy
|
tags: codeserver_deploy
|
||||||
- name: Deploy Dashdot
|
- name: Deploy PocketID
|
||||||
import_tasks: tasks/dashdot.yml
|
import_tasks: tasks/pocketid.yml
|
||||||
tags: dashdot_deploy
|
tags: pocketid_deploy
|
||||||
- name: Deploy Romm
|
- name: Deploy Scrobbling Setup
|
||||||
import_tasks: tasks/romm.yml
|
import_tasks: tasks/scrobbling.yml
|
||||||
tags: romm_deploy
|
tags: scrobbling_deploy
|
||||||
- name: Deploy Owncloud
|
|
||||||
import_tasks: tasks/owncloud.yml
|
|
||||||
tags: owncloud_deploy
|
|
||||||
- name: Deploy Excalidraw
|
|
||||||
import_tasks: tasks/excalidraw.yml
|
|
||||||
tags: excalidraw_deploy
|
|
||||||
- name: Deploy Vaultwarden
|
- name: Deploy Vaultwarden
|
||||||
import_tasks: tasks/vaultwarden.yml
|
import_tasks: tasks/vaultwarden.yml
|
||||||
tags: vaultwarden_deploy
|
tags: vaultwarden_deploy
|
||||||
|
- name: Deploy Tautulli
|
||||||
|
import_tasks: tasks/tautulli.yml
|
||||||
|
tags: tautulli_deploy
|
||||||
- name: Deploy Immich
|
- name: Deploy Immich
|
||||||
import_tasks: tasks/immich.yml
|
import_tasks: tasks/immich.yml
|
||||||
tags: immich_deploy
|
tags: immich_deploy
|
||||||
- name: Deploy Navidrome
|
- name: Deploy Plex
|
||||||
import_tasks: tasks/navidrome.yml
|
import_tasks: tasks/plex.yml
|
||||||
tags: navidrome_deploy
|
tags: plex_deploy
|
||||||
- name: Deploy Drop
|
- name: Deploy ErsatzTV
|
||||||
import_tasks: tasks/drop.yml
|
import_tasks: tasks/ersatztv.yml
|
||||||
tags: drop_deploy
|
tags: ersatztv_deploy
|
||||||
- name: Deploy Home Assistant
|
- name: Deploy Frigate
|
||||||
import_tasks: tasks/home-assistant.yml
|
import_tasks: tasks/frigate.yml
|
||||||
tags: home-assistant_deploy
|
tags: frigate_deploy
|
||||||
- name: Deploy Gluetun
|
- name: Deploy Servarr
|
||||||
import_tasks: tasks/gluetun.yml
|
import_tasks: tasks/servarr.yml
|
||||||
tags: gluetun_deploy
|
tags: servarr_deploy
|
||||||
- name: Deploy QBittorrent
|
- name: Deploy NZBGet
|
||||||
import_tasks: tasks/qbittorrent.yml
|
import_tasks: tasks/nzbget.yml
|
||||||
tags: qbittorrent_deploy
|
tags: nzbget_deploy
|
||||||
- name: Deploy Jackett
|
|
||||||
import_tasks: tasks/jackett.yml
|
|
||||||
tags: jackett_deploy
|
|
||||||
- name: Deploy NFL Proxy
|
|
||||||
import_tasks: tasks/nfl-proxy.yml
|
|
||||||
tags: nfl-proxy_deploy
|
|
||||||
- name: Deploy Uptime Kuma
|
- name: Deploy Uptime Kuma
|
||||||
import_tasks: tasks/uptime-kuma.yml
|
import_tasks: tasks/uptime-kuma.yml
|
||||||
tags: uptime-kuma_deploy
|
tags: uptime-kuma_deploy
|
||||||
- name: Deploy CouchDB for obsidian
|
- name: Deploy Romm
|
||||||
import_tasks: tasks/obsidian.yml
|
import_tasks: tasks/romm.yml
|
||||||
tags: obsidian_deploy
|
tags: romm_deploy
|
||||||
- name: Deploy Helium services
|
- name: Deploy Booklore
|
||||||
import_tasks: tasks/helium.yml
|
import_tasks: tasks/booklore.yml
|
||||||
tags: helium_deploy
|
tags: booklore_deploy
|
||||||
|
- name: Deploy Pelican
|
||||||
|
import_tasks: tasks/pelican.yml
|
||||||
|
tags: pelican_deploy
|
||||||
|
- name: Deploy Docs
|
||||||
|
import_tasks: tasks/docs.yml
|
||||||
|
tags: docs_deploy
|
||||||
|
- name: Deploy Audiobookshelf
|
||||||
|
import_tasks: tasks/audiobookshelf.yml
|
||||||
|
tags: audiobookshelf_deploy
|
||||||
|
- name: Deploy Cloudflared
|
||||||
|
import_tasks: tasks/cloudflared.yml
|
||||||
|
tags: cloudflared_deploy
|
||||||
|
- name: Deploy Gitea Runner
|
||||||
|
import_tasks: tasks/runner.yml
|
||||||
|
tags: runner_deploy
|
||||||
|
|
||||||
- hosts: jackson
|
- hosts: jackson
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: traefik
|
- role: traefik
|
||||||
tags: traefik_deploy
|
tags: traefik_deploy
|
||||||
- role: fivem
|
vars:
|
||||||
tags: fivem_deploy
|
server: "jackson"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Deploy Gitea
|
- name: Deploy Gitea
|
||||||
@@ -113,16 +110,31 @@
|
|||||||
- name: Deploy Plausible
|
- name: Deploy Plausible
|
||||||
import_tasks: tasks/plausible.yml
|
import_tasks: tasks/plausible.yml
|
||||||
tags: plausible_deploy
|
tags: plausible_deploy
|
||||||
- name: Deploy Owncloud
|
- name: Deploy Pelican
|
||||||
import_tasks: tasks/owncloud.yml
|
import_tasks: tasks/pelican.yml
|
||||||
tags: owncloud_deploy
|
tags: pelican_deploy
|
||||||
|
- name: Deploy Database
|
||||||
|
import_tasks: tasks/mariadb.yml
|
||||||
|
tags: mariadb_deploy
|
||||||
|
- name: Deploy Floof
|
||||||
|
import_tasks: tasks/floof.yml
|
||||||
|
tags: floof_deploy
|
||||||
|
- name: Deploy Tinyauth
|
||||||
|
import_tasks: tasks/tinyauth.yml
|
||||||
|
tags: tinyauth_deploy
|
||||||
|
- name: Deploy Cobalt
|
||||||
|
import_tasks: tasks/cobalt.yml
|
||||||
|
tags: cobalt_deploy
|
||||||
|
|
||||||
- hosts: nas
|
- hosts: nas
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- role: traefik
|
||||||
|
tags: traefik_deploy
|
||||||
|
vars:
|
||||||
|
server: "nas"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Deploy Plex
|
- name: Deploy Wings
|
||||||
import_tasks: tasks/plex.yml
|
import_tasks: tasks/wings.yml
|
||||||
tags: plex_deploy
|
tags: wings_deploy
|
||||||
- name: Deploy Frigate
|
|
||||||
import_tasks: tasks/frigate.yml
|
|
||||||
tags: frigate_deploy
|
|
||||||
|
|||||||
59
roles/docker/tasks/main.yml
Normal file
59
roles/docker/tasks/main.yml
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
---
|
||||||
|
- name: Create folder structure
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items: "{{ directories }}"
|
||||||
|
when: directories is defined
|
||||||
|
|
||||||
|
- name: Clone repository
|
||||||
|
git:
|
||||||
|
repo: "{{ build.git.repo }}"
|
||||||
|
dest: "{{ build.git.dest }}"
|
||||||
|
when: build is defined
|
||||||
|
|
||||||
|
- name: Create Docker volume
|
||||||
|
docker_volume:
|
||||||
|
name: "{{ volume_name }}"
|
||||||
|
when: volume_name is defined
|
||||||
|
|
||||||
|
- name: Build Docker Image
|
||||||
|
docker_image:
|
||||||
|
name: "{{ image.name }}"
|
||||||
|
tag: "{{ image.tag }}"
|
||||||
|
build:
|
||||||
|
nocache: true
|
||||||
|
path: "{{ build.git.dest }}"
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
source: build
|
||||||
|
force_source: true
|
||||||
|
state: present
|
||||||
|
when: build is defined
|
||||||
|
|
||||||
|
- name: Create Docker Network
|
||||||
|
docker_network:
|
||||||
|
name: "{{ network_name }}"
|
||||||
|
when: network_name is defined
|
||||||
|
|
||||||
|
- name: Create Docker Container
|
||||||
|
docker_container:
|
||||||
|
name: "{{ name }}"
|
||||||
|
recreate: true
|
||||||
|
restart_policy: always
|
||||||
|
entrypoint: "{{ entrypoint | default(omit) }}"
|
||||||
|
shm_size: "{{ shmSize | default(omit) }}"
|
||||||
|
pull: "{{ build is not defined }}"
|
||||||
|
published_ports: "{{ published_ports | default(omit) }}"
|
||||||
|
network_mode: "{{ network_mode | default(omit) }}"
|
||||||
|
image: "{{ image.name }}:{{ image.tag }}"
|
||||||
|
etc_hosts: "{{ extra_hosts | default(omit) }}"
|
||||||
|
command: "{{ command | default(omit) }}"
|
||||||
|
networks: "{{ networks | default(omit) }}"
|
||||||
|
volumes: "{{ volumes | default(omit) }}"
|
||||||
|
env: "{{ env | default(omit) }}"
|
||||||
|
labels: "{{ labels | default(omit) }}"
|
||||||
|
healthcheck: "{{ healthcheck | default(omit) }}"
|
||||||
|
devices: "{{ devices | default(omit) }}"
|
||||||
|
mounts: "{{ mounts | default(omit) }}"
|
||||||
|
pid_mode: "{{ pid_mode | default(omit) }}"
|
||||||
|
privileged: "{{ privileged | default(omit) }}"
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/gitea"
|
|
||||||
- "{{ data_dir }}/job"
|
|
||||||
|
|
||||||
- name: Check if Act Runner has been downloaded
|
|
||||||
stat:
|
|
||||||
path: "{{ data_dir }}/gitea/act_runner"
|
|
||||||
register: act_runner
|
|
||||||
|
|
||||||
- name: Download Gitea Act Runner
|
|
||||||
get_url:
|
|
||||||
url: https://dl.gitea.com/act_runner/nightly/act_runner-nightly-linux-amd64
|
|
||||||
dest: "{{ data_dir }}/gitea"
|
|
||||||
mode: 0755
|
|
||||||
when: not act_runner.stat.exists
|
|
||||||
|
|
||||||
- name: Copy Gitea Act Runner Config
|
|
||||||
template:
|
|
||||||
src: config.yml.j2
|
|
||||||
dest: "{{ data_dir }}/gitea/config.yml"
|
|
||||||
|
|
||||||
- name: Check if Act Runner is a Systemd Service
|
|
||||||
stat:
|
|
||||||
path: "/etc/systemd/system/act_runner.service"
|
|
||||||
register: act_runner_service
|
|
||||||
|
|
||||||
- name: Stop & remove systemd service
|
|
||||||
become: yes
|
|
||||||
shell: |
|
|
||||||
systemctl stop act_runner.service &&
|
|
||||||
rm /etc/systemd/system/act_runner.service
|
|
||||||
- name: Create Systemd Service
|
|
||||||
become: yes
|
|
||||||
template:
|
|
||||||
src: act_runner.service.j2
|
|
||||||
dest: "/etc/systemd/system/act_runner.service"
|
|
||||||
|
|
||||||
- name: Enable Systemd Service
|
|
||||||
become: yes
|
|
||||||
command: systemctl enable act_runner.service
|
|
||||||
- name: Start Systemd Service
|
|
||||||
become: yes
|
|
||||||
command: systemctl start act_runner.service
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Gitea Actions runner
|
|
||||||
Documentation=https://gitea.com/gitea/act_runner
|
|
||||||
After=docker.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart={{ data_dir }}/gitea/act_runner daemon --config={{ data_dir }}/gitea/config.yml
|
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
|
||||||
WorkingDirectory={{ data_dir }}/gitea
|
|
||||||
TimeoutSec=0
|
|
||||||
RestartSec=10
|
|
||||||
Restart=always
|
|
||||||
User=alex
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
log:
|
|
||||||
level: info
|
|
||||||
|
|
||||||
runner:
|
|
||||||
file: .runner
|
|
||||||
capacity: 1
|
|
||||||
timeout: 3h
|
|
||||||
shutdown_timeout: 0s
|
|
||||||
insecure: false
|
|
||||||
fetch_timeout: 5s
|
|
||||||
fetch_interval: 2s
|
|
||||||
labels:
|
|
||||||
- "runner:host"
|
|
||||||
|
|
||||||
host:
|
|
||||||
workdir_parent: "{{ data_dir }}/gitea/job"
|
|
||||||
@@ -25,12 +25,17 @@
|
|||||||
template:
|
template:
|
||||||
src: local-dynamic.yml.j2
|
src: local-dynamic.yml.j2
|
||||||
dest: "{{ data_dir }}/traefik/dynamic.yml"
|
dest: "{{ data_dir }}/traefik/dynamic.yml"
|
||||||
when: server == "jade" or server == "nas"
|
when: server == "jade" or server == "nas" or server == "bear"
|
||||||
- name: Create Traefik Dynamic File (Remote)
|
- name: Create Traefik Dynamic File (Remote)
|
||||||
template:
|
template:
|
||||||
src: remote-dynamic.yml.j2
|
src: remote-dynamic.yml.j2
|
||||||
dest: "{{ data_dir }}/traefik/dynamic.yml"
|
dest: "{{ data_dir }}/traefik/dynamic.yml"
|
||||||
when: server == "jackson"
|
when: server == "jackson"
|
||||||
|
- name: Create Traefik Dynamic File (Remote 2)
|
||||||
|
template:
|
||||||
|
src: remote-ash-1.yml.j2
|
||||||
|
dest: "{{ data_dir }}/traefik/dynamic.yml"
|
||||||
|
when: server == "ash-1"
|
||||||
|
|
||||||
- name: Deploy Traefik Docker Container
|
- name: Deploy Traefik Docker Container
|
||||||
docker_container:
|
docker_container:
|
||||||
@@ -38,6 +43,7 @@
|
|||||||
image: traefik
|
image: traefik
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
recreate: true
|
recreate: true
|
||||||
|
pull: true
|
||||||
command:
|
command:
|
||||||
- --providers.file.directory=/config
|
- --providers.file.directory=/config
|
||||||
published_ports:
|
published_ports:
|
||||||
@@ -52,5 +58,8 @@
|
|||||||
- "{{ data_dir }}/traefik/data:/data"
|
- "{{ data_dir }}/traefik/data:/data"
|
||||||
- "{{ data_dir }}/traefik/traefik.yml:/traefik.yml"
|
- "{{ data_dir }}/traefik/traefik.yml:/traefik.yml"
|
||||||
- "{{ data_dir }}/traefik/dynamic.yml:/dynamic.yml"
|
- "{{ data_dir }}/traefik/dynamic.yml:/dynamic.yml"
|
||||||
networks:
|
networks: >-
|
||||||
- name: "{{ docker_network_name }}"
|
{{
|
||||||
|
[{'name': docker_network_name}] +
|
||||||
|
([{'name': 'tunnel'}] if use_cloudflared | default(false) else [])
|
||||||
|
}}
|
||||||
|
|||||||
@@ -12,6 +12,11 @@ entryPoints:
|
|||||||
scheme: https
|
scheme: https
|
||||||
webSecure:
|
webSecure:
|
||||||
address: ":443"
|
address: ":443"
|
||||||
|
transport:
|
||||||
|
respondingTimeouts:
|
||||||
|
readTimeout: 600s
|
||||||
|
writeTimeout: 600s
|
||||||
|
idleTimeout: 180s
|
||||||
serversTransport:
|
serversTransport:
|
||||||
insecureSkipVerify: true
|
insecureSkipVerify: true
|
||||||
providers:
|
providers:
|
||||||
@@ -30,3 +35,9 @@ certificatesResolvers:
|
|||||||
dnsChallenge:
|
dnsChallenge:
|
||||||
provider: cloudflare
|
provider: cloudflare
|
||||||
delayBeforeCheck: 10
|
delayBeforeCheck: 10
|
||||||
|
accessLog:
|
||||||
|
filters:
|
||||||
|
statusCodes:
|
||||||
|
- "200"
|
||||||
|
- "400-404"
|
||||||
|
- "500-503"
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
http:
|
http:
|
||||||
|
middlewares:
|
||||||
|
tinyauth:
|
||||||
|
forwardauth:
|
||||||
|
address: http://tinyauth:3000/api/auth/traefik
|
||||||
|
|
||||||
routers:
|
routers:
|
||||||
plex:
|
plex:
|
||||||
rule: "Host(`tv.fntz.net`)"
|
rule: "Host(`tv.fntz.net`)"
|
||||||
@@ -21,40 +26,40 @@ http:
|
|||||||
- webSecure
|
- webSecure
|
||||||
tls:
|
tls:
|
||||||
certResolver: letsencrypt
|
certResolver: letsencrypt
|
||||||
nflproxy:
|
homebridge:
|
||||||
rule: "Host(`nfl.fntz.net`)"
|
rule: "Host(`bridge.fntz.net`)"
|
||||||
service: nflproxy
|
service: homebridge
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- webSecure
|
- webSecure
|
||||||
tls:
|
tls:
|
||||||
certResolver: letsencrypt
|
certResolver: letsencrypt
|
||||||
nvr:
|
wings:
|
||||||
rule: "Host(`nvr.fntz.net`)"
|
rule: "Host(`wings.fntz.net`)"
|
||||||
service: nvr
|
service: wings
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- webSecure
|
- webSecure
|
||||||
tls:
|
tls:
|
||||||
certResolver: letsencrypt
|
certResolver: letsencrypt
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
plex:
|
plex:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: "http://172.16.0.29:32400"
|
- url: "http://172.16.0.44:32400"
|
||||||
jtraefik:
|
jtraefik:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: "http://jackson:8080/"
|
- url: "http://100.105.157.6:8080/"
|
||||||
traefik:
|
traefik:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: "http://jade:8080/"
|
- url: "http://172.16.0.44:8080/"
|
||||||
nflproxy:
|
homebridge:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: "http://jade:5000/"
|
- url: "http://172.16.0.44:8581/"
|
||||||
nvr:
|
wings:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: "http://nas:5000/"
|
- url: "http://172.16.0.44:4000/"
|
||||||
|
passHostHeader: true
|
||||||
15
roles/traefik/templates/remote-ash-1.yml.j2
Normal file
15
roles/traefik/templates/remote-ash-1.yml.j2
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
http:
|
||||||
|
routers:
|
||||||
|
wings:
|
||||||
|
rule: "Host(`ash-1.landite.games`)"
|
||||||
|
service: wings
|
||||||
|
entryPoints:
|
||||||
|
- webSecure
|
||||||
|
tls:
|
||||||
|
certResolver: letsencrypt
|
||||||
|
|
||||||
|
services:
|
||||||
|
wings:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://5.161.219.50:8090"
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
http:
|
||||||
|
routers:
|
||||||
|
wings:
|
||||||
|
rule: "Host(`wings.landite.games`)"
|
||||||
|
service: wings
|
||||||
|
entryPoints:
|
||||||
|
- webSecure
|
||||||
|
tls:
|
||||||
|
certResolver: letsencrypt
|
||||||
|
|
||||||
|
services:
|
||||||
|
wings:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://5.161.64.174:8090"
|
||||||
@@ -5,112 +5,96 @@ import subprocess
|
|||||||
def git_diff():
|
def git_diff():
|
||||||
args = sys.argv
|
args = sys.argv
|
||||||
res = subprocess.run(f"git diff --name-only {args[1]} {args[2]}", capture_output=True, shell=True, text=True)
|
res = subprocess.run(f"git diff --name-only {args[1]} {args[2]}", capture_output=True, shell=True, text=True)
|
||||||
return [x for x in res.stdout.strip().split("\n") if "tasks/" in x or "roles/" in x or "host_vars" in x]
|
return [x for x in res.stdout.strip().split("\n") if "tasks/" in x or "roles/" in x]
|
||||||
|
|
||||||
def construct_command(tag = None, host = None):
|
|
||||||
command = f"ANSIBLE_CONFIG=ansible.cfg /usr/bin/ansible-playbook main.yml --vault-password-file ~/.vault_pass.txt"
|
|
||||||
|
|
||||||
if host:
|
|
||||||
command += f" -l {host}"
|
|
||||||
if tag:
|
|
||||||
command += f" --tags {tag}_deploy"
|
|
||||||
|
|
||||||
|
def construct_command(tags):
|
||||||
|
command = f"ANSIBLE_CONFIG=ansible.cfg /usr/bin/ansible-playbook main.yml --tags={",".join(tags)} --vault-password-file ~/.vault_pass.txt"
|
||||||
|
print(command)
|
||||||
return command
|
return command
|
||||||
|
|
||||||
def deploy(tag = None, host = None):
|
def deploy(tags):
|
||||||
command = construct_command(tag, host)
|
print(f"[MAIN] Deploying...")
|
||||||
|
command = construct_command(tags)
|
||||||
if tag:
|
|
||||||
print(f"Deploying {tag}...\n")
|
|
||||||
else:
|
|
||||||
print(f"Deploying {host}...\n")
|
|
||||||
res = subprocess.run(command, shell=True)
|
res = subprocess.run(command, shell=True)
|
||||||
|
|
||||||
return res.returncode == 0
|
return res.returncode == 0
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
tasks_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "../tasks")
|
dir_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../')
|
||||||
diff = git_diff()
|
diff = git_diff()
|
||||||
host_vars_changed_for = []
|
|
||||||
|
# containers that need special treatment
|
||||||
|
removed_containers = []
|
||||||
vpn_containers = [
|
vpn_containers = [
|
||||||
"tasks/qbittorrent.yml",
|
"tasks/qbittorrent.yml",
|
||||||
"tasks/jackett.yml"
|
"tasks/jackett.yml"
|
||||||
]
|
]
|
||||||
|
ignore_deploys_for = [
|
||||||
|
"tasks/runner",
|
||||||
|
"templates/runner",
|
||||||
|
"roles/docker"
|
||||||
|
]
|
||||||
|
|
||||||
# because these containers rely on gluetun for network, they need to be recreated when gluetun is recreated
|
# special actions
|
||||||
if "tasks/gluetun.yml" in diff:
|
if "tasks/gluetun.yml" in diff:
|
||||||
print("Gluetun detected in diff, queuing dependent containers for recreation")
|
print("[MAIN] Detected Gluetun in diff, recreating dependent containers..")
|
||||||
for container in vpn_containers:
|
for container in vpn_containers:
|
||||||
if container not in diff:
|
if container not in diff:
|
||||||
diff.append(container)
|
diff.append(container)
|
||||||
|
|
||||||
# when variables update for a host, recreate containers
|
# clean up the diff
|
||||||
|
new_diff = []
|
||||||
for file in diff:
|
for file in diff:
|
||||||
if "host_vars" in file:
|
split_string = file.split("/")
|
||||||
hostname = file.split("/")[1].split(".")[0]
|
service_name = split_string[1].split(".")[0] + "_deploy" if "." in split_string[1] else split_string[1] + "_deploy"
|
||||||
print(f"Secret file for '{hostname}' changed, will recreate containers on host after deployment")
|
|
||||||
host_vars_changed_for.append(hostname)
|
|
||||||
|
|
||||||
deployed = []
|
# i'm not proud of this either
|
||||||
failed = []
|
if not os.path.exists(os.path.join(dir_path, file)):
|
||||||
for file in diff:
|
if "roles" in file and not os.path.exists(os.path.join(dir_path, service_name)):
|
||||||
# separating these for now because roles will typically
|
print(f"[MAIN] '{task_name}' role removed, marking for cleanup..")
|
||||||
# have a bunch of other things tied to them
|
removed_containers.append(service_name)
|
||||||
if "roles/" not in file and "host_vars/" not in file:
|
elif "tasks" in task_name:
|
||||||
task_name = file.split("/")[1].split(".")[0]
|
print(f"[MAIN] '{task_name}' non-existent, marking for cleanup..")
|
||||||
task_file_path = os.path.join(tasks_path, file.split("/")[1])
|
removed_containers.append(service_name)
|
||||||
|
else:
|
||||||
|
if service_name not in ignore_deploys_for and service_name not in new_diff:
|
||||||
|
new_diff.append(service_name)
|
||||||
|
|
||||||
if not os.path.exists(task_file_path):
|
if len(new_diff) > 0:
|
||||||
print(f"{task_name} doesn't exist, running cleanup")
|
deployed = deploy(new_diff)
|
||||||
res = subprocess.run(f"/usr/bin/docker container stop {task_name}", shell=True)
|
else:
|
||||||
if res.returncode == 0:
|
# success, nothing deployed
|
||||||
subprocess.run(f"/usr/bin/docker container rm {task_name}", shell=True)
|
deployed = True
|
||||||
subprocess.run("/usr/bin/docker image prune -f", shell=True)
|
|
||||||
subprocess.run("/usr/bin/docker container prune -f", shell=True)
|
|
||||||
|
|
||||||
print(f"Cleaned up container {task_name}")
|
for task in removed_containers:
|
||||||
|
print(f"[MAIN] Attempting to remove containers related to '{task}'...")
|
||||||
|
if len(task.split("/")) > 1:
|
||||||
|
task_name = task.split("/")[1].split(".")[0]
|
||||||
|
else:
|
||||||
|
task_name = task
|
||||||
|
|
||||||
|
containers = subprocess.Popen(f'docker ps --filter "name={task_name}" -q', shell=True, stdout=subprocess.PIPE)
|
||||||
|
for line in containers.stdout:
|
||||||
|
container_id = line.strip().decode("utf8")
|
||||||
|
print(f"[MAIN] Found Docker container {container_id} related to {task_name}, removing..")
|
||||||
|
subprocess.run(f"/usr/bin/docker container stop {container_id}", shell=True)
|
||||||
|
subprocess.run(f"/usr/bin/docker container rm {container_id}", shell=True)
|
||||||
|
subprocess.run("/usr/bin/docker image prune -f", shell=True)
|
||||||
|
subprocess.run("/usr/bin/docker container prune -f", shell=True)
|
||||||
|
|
||||||
if "host_vars" not in file:
|
if deployed and len(new_diff) > 0:
|
||||||
# deploy the task, regardless of its status
|
|
||||||
if "roles/" not in file:
|
|
||||||
if task_name not in deployed:
|
|
||||||
task = deploy(tag=task_name)
|
|
||||||
else:
|
|
||||||
task_name = file.split("/")[1]
|
|
||||||
|
|
||||||
if task_name not in deployed:
|
|
||||||
task = deploy(tag=task_name)
|
|
||||||
|
|
||||||
if not task:
|
|
||||||
failed.append(task_name)
|
|
||||||
else:
|
|
||||||
deployed.append(task_name)
|
|
||||||
|
|
||||||
if len(host_vars_changed_for) > 0:
|
|
||||||
for host in host_vars_changed_for:
|
|
||||||
print(f"Redeploying containers on {host} due to host vars update")
|
|
||||||
task = deploy(host=host)
|
|
||||||
if task:
|
|
||||||
deployed.append(host)
|
|
||||||
else:
|
|
||||||
failed.append(host)
|
|
||||||
|
|
||||||
|
|
||||||
if len(failed) <= 0 and len(deployed) > 0:
|
|
||||||
print("\n---------------------")
|
print("\n---------------------")
|
||||||
print(" Deployment succeeded!")
|
print(" Deployment succeeded!")
|
||||||
print(f" All tasks: {", ".join(deployed)}")
|
print(f" All tasks: {', '.join(new_diff)}")
|
||||||
print("---------------------\n")
|
print("---------------------\n")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
elif len(failed) > 0:
|
elif not deployed and len(new_diff) > 0:
|
||||||
print("\n---------------------")
|
print("\n---------------------")
|
||||||
print(" Deployment failed!")
|
print(" Deployment failed!")
|
||||||
print(f" Failed tasks: {", ".join(failed)}")
|
print(f" All tasks: {', '.join(new_diff)}")
|
||||||
print(f" All tasks: {", ".join(deployed)}")
|
|
||||||
print("---------------------\n")
|
print("---------------------\n")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
elif len(deployed) <= 0:
|
elif len(new_diff) <= 0:
|
||||||
print("Successfully executed, no tasks required execution")
|
print("[MAIN] Successfully executed, no tasks required execution")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
@@ -10,21 +10,39 @@ if os.path.exists(host_vars_path):
|
|||||||
|
|
||||||
vaults = os.listdir(host_vars_path)
|
vaults = os.listdir(host_vars_path)
|
||||||
|
|
||||||
|
# 1st run - extract ungrouped, global variables
|
||||||
for vault in vaults:
|
for vault in vaults:
|
||||||
vault_path = os.path.join(host_vars_path, vault)
|
vault_path = os.path.join(host_vars_path, vault)
|
||||||
vault_contents = subprocess.run(f'ansible-vault decrypt "{vault_path}" --vault-password-file ~/.vault_pass.txt --output -', shell=True, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
|
vault_contents = subprocess.run(f'ansible-vault decrypt "{vault_path}" --vault-password-file ~/.vault_pass.txt --output -', shell=True, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
|
||||||
stdout = vault_contents.stdout.strip().splitlines()
|
stdout = vault_contents.stdout.strip().splitlines()
|
||||||
|
|
||||||
for line in stdout:
|
for line in stdout:
|
||||||
if line.startswith("#") and line not in file_contents:
|
if line.startswith("#"):
|
||||||
file_contents += f"\n{line}\n"
|
break
|
||||||
|
elif line.split(":")[0] not in file_contents:
|
||||||
|
file_contents += f"{line.split(":")[0]}:\n"
|
||||||
|
|
||||||
|
# 2nd run - extract service-specific variables
|
||||||
|
for vault in vaults:
|
||||||
|
vault_path = os.path.join(host_vars_path, vault)
|
||||||
|
vault_contents = subprocess.run(f'ansible-vault decrypt "{vault_path}" --vault-password-file ~/.vault_pass.txt --output -', shell=True, universal_newlines=True, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL)
|
||||||
|
stdout = vault_contents.stdout.strip().splitlines()
|
||||||
|
|
||||||
if ":" in line:
|
has_found_start = False
|
||||||
if line.split(":")[0] not in file_contents:
|
for line in stdout:
|
||||||
file_contents += f'{line.split(":")[0]}:\n'
|
if has_found_start or line.startswith("#"):
|
||||||
|
if not has_found_start:
|
||||||
|
has_found_start = True
|
||||||
|
|
||||||
|
if line.startswith("#") and line not in file_contents:
|
||||||
|
file_contents += f"\n{line}\n"
|
||||||
|
|
||||||
with open(os.path.join(host_vars_path, 'all.template.yml'), 'w', encoding="utf8") as template_file:
|
if ":" in line:
|
||||||
template_file.write(file_contents)
|
if line.split(":")[0] not in file_contents:
|
||||||
template_file.close()
|
file_contents += f'{line.split(":")[0]}:\n'
|
||||||
|
|
||||||
|
with open(os.path.join(host_vars_path, 'all.template.yml'), 'w', encoding="utf8") as template_file:
|
||||||
|
template_file.write(file_contents)
|
||||||
|
template_file.close()
|
||||||
|
|
||||||
print("Written to disk!")
|
print("Written to disk!")
|
||||||
65
scripts/run_updates.py
Normal file
65
scripts/run_updates.py
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
import requests
|
||||||
|
import subprocess
|
||||||
|
import os
|
||||||
|
import yaml
|
||||||
|
|
||||||
|
def search_for_image(image_name):
|
||||||
|
tasks_folder = os.path.realpath(os.path.join('./', 'tasks'))
|
||||||
|
if "library/" in image_name:
|
||||||
|
image_name = image_name.replace("library/", "")
|
||||||
|
|
||||||
|
for task in os.listdir(tasks_folder):
|
||||||
|
with open(os.path.join(tasks_folder, task), 'r') as file:
|
||||||
|
data = yaml.safe_load(file)
|
||||||
|
|
||||||
|
for key in data:
|
||||||
|
if "vars" in key:
|
||||||
|
if image_name in key["vars"]["image"]["name"] or image_name == key["vars"]["image"]["name"]:
|
||||||
|
return f"{task.split(".")[0]}_deploy"
|
||||||
|
|
||||||
|
def main():
|
||||||
|
update_list = requests.get("https://cup.fntz.net/api/v3/json")
|
||||||
|
update_list.raise_for_status()
|
||||||
|
update_list = update_list.json()
|
||||||
|
|
||||||
|
deployable_tags = []
|
||||||
|
with open("main.yml", 'r') as file:
|
||||||
|
data = yaml.safe_load(file)
|
||||||
|
for host in data:
|
||||||
|
if "tasks" in host:
|
||||||
|
for task in host['tasks']:
|
||||||
|
deployable_tags.append(task['tags'])
|
||||||
|
|
||||||
|
if len(update_list["images"]) > 0:
|
||||||
|
already_deployed = []
|
||||||
|
actually_updatable = []
|
||||||
|
blacklist = []
|
||||||
|
|
||||||
|
for image in update_list["images"]:
|
||||||
|
if image['result']['has_update']:
|
||||||
|
if image in blacklist:
|
||||||
|
print(f"[UPDATE] Ignoring '{image}' due to its blacklist")
|
||||||
|
elif 'version_update_type' in image['result']['info'] and image['result']['info']['version_update_type'] != "major":
|
||||||
|
actually_updatable.append({ 'reference': image['reference'], 'repository': image['parts']['repository'] })
|
||||||
|
elif 'type' in image['result']['info'] and image['result']['info']['type'] == "digest":
|
||||||
|
actually_updatable.append({ 'reference': image['reference'], 'repository': image['parts']['repository'] })
|
||||||
|
|
||||||
|
print(f"Redeploying {len(actually_updatable)} container(s)..")
|
||||||
|
for image in actually_updatable:
|
||||||
|
ansible_tag = search_for_image(image['repository'])
|
||||||
|
print(ansible_tag, image['reference'])
|
||||||
|
if ansible_tag and ansible_tag in deployable_tags and ansible_tag not in already_deployed:
|
||||||
|
print(f'[UPDATE] Deploying {ansible_tag}..')
|
||||||
|
subprocess.run(f'ANSIBLE_CONFIG=ansible.cfg ansible-playbook main.yml --tags {ansible_tag} --vault-password-file=~/.vault_pass.txt', shell=True)
|
||||||
|
else:
|
||||||
|
print('[UPDATE] Could not find corresponding task, cleaning up..')
|
||||||
|
subprocess.run(f"docker image remove {image['reference']}", shell=True)
|
||||||
|
already_deployed.append(ansible_tag)
|
||||||
|
|
||||||
|
print("\nAll images updated, refreshing Cup")
|
||||||
|
requests.get("https://cup.fntz.net/api/v3/refresh")
|
||||||
|
else:
|
||||||
|
print("No images to update!")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
27
tasks/adguard.yml
Normal file
27
tasks/adguard.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy AdGuard Home
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: adguard
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/adguard"
|
||||||
|
- "{{ data_dir }}/adguard/work"
|
||||||
|
- "{{ data_dir }}/adguard/conf"
|
||||||
|
image:
|
||||||
|
name: adguard/adguardhome
|
||||||
|
tag: latest
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/adguard/work:/opt/adguardhome/work"
|
||||||
|
- "{{ data_dir }}/adguard/conf:/opt/adguardhome/conf"
|
||||||
|
published_ports:
|
||||||
|
- "53:53/tcp"
|
||||||
|
- "53:53/udp"
|
||||||
|
networks:
|
||||||
|
- name: "homelab"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.adguard.rule: Host(`ag.fntz.net`)
|
||||||
|
traefik.http.routers.adguard.entrypoints: webSecure
|
||||||
|
traefik.http.routers.adguard.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.adguard.loadbalancer.server.port: "3000"
|
||||||
@@ -1,49 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: "Create file structure"
|
- name: Deploy API Database
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/api"
|
|
||||||
- "{{ data_dir }}/api/db"
|
|
||||||
- "{{ data_dir }}/api/app"
|
|
||||||
|
|
||||||
- name: "Clone latest API"
|
|
||||||
git:
|
|
||||||
repo: git@git.alexav.gg:alex/api.git
|
|
||||||
dest: "{{ data_dir }}/api/app"
|
|
||||||
|
|
||||||
- name: "Build API Docker Image"
|
|
||||||
docker_image:
|
|
||||||
name: api
|
|
||||||
tag: "latest"
|
|
||||||
build:
|
|
||||||
nocache: true
|
|
||||||
path: "{{ data_dir }}/api/app"
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
source: build
|
|
||||||
force_source: true
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Create API Network
|
|
||||||
docker_network:
|
|
||||||
name: api
|
|
||||||
|
|
||||||
- name: Deploy Redis Container
|
|
||||||
docker_container:
|
|
||||||
name: api_redis
|
|
||||||
image: redis:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: api
|
|
||||||
|
|
||||||
- name: Deploy Database Container
|
|
||||||
docker_container:
|
|
||||||
name: api_postgres
|
name: api_postgres
|
||||||
image: postgres:latest
|
network_name: api
|
||||||
restart_policy: unless-stopped
|
directories:
|
||||||
recreate: true
|
- "{{ data_dir }}/api/db"
|
||||||
|
image:
|
||||||
|
name: postgres
|
||||||
|
tag: "17"
|
||||||
networks:
|
networks:
|
||||||
- name: api
|
- name: api
|
||||||
volumes:
|
volumes:
|
||||||
@@ -53,15 +19,30 @@
|
|||||||
POSTGRES_PASSWORD: "{{ API_POSTGRES_PASSWORD }}"
|
POSTGRES_PASSWORD: "{{ API_POSTGRES_PASSWORD }}"
|
||||||
PGDATA: "/var/lib/postgresql/data/pgdata"
|
PGDATA: "/var/lib/postgresql/data/pgdata"
|
||||||
|
|
||||||
- name: Deploy API Container
|
- name: Deploy API Redis
|
||||||
docker_container:
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: api_redis
|
||||||
|
network_name: api
|
||||||
|
image:
|
||||||
|
name: redis
|
||||||
|
tag: latest
|
||||||
|
networks:
|
||||||
|
- name: api
|
||||||
|
|
||||||
|
- name: Deploy API
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
name: api
|
name: api
|
||||||
image: api:latest
|
network_name: api
|
||||||
recreate: true
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
networks:
|
networks:
|
||||||
- name: api
|
- name: api
|
||||||
- name: "{{ docker_network_name }}"
|
- name: "{{ docker_network_name }}"
|
||||||
|
image:
|
||||||
|
name: git.alexav.gg/alex/api
|
||||||
|
tag: latest
|
||||||
env:
|
env:
|
||||||
NODE_ENV: "production"
|
NODE_ENV: "production"
|
||||||
VERSION: "v4"
|
VERSION: "v4"
|
||||||
@@ -73,6 +54,14 @@
|
|||||||
STEAM_API_KEY: "{{ API_STEAM_API_KEY }}"
|
STEAM_API_KEY: "{{ API_STEAM_API_KEY }}"
|
||||||
CONTACT_WEBHOOK: "{{ API_CONTACT_WEBHOOK }}"
|
CONTACT_WEBHOOK: "{{ API_CONTACT_WEBHOOK }}"
|
||||||
JWT_KEY: "{{ API_JWT_KEY }}"
|
JWT_KEY: "{{ API_JWT_KEY }}"
|
||||||
|
DISCORD_PUBLIC_KEY: "{{ API_DISCORD_PUBLIC_KEY }}"
|
||||||
|
DISCORD_APP_ID: "{{ API_DISCORD_APP_ID }}"
|
||||||
|
DISCORD_BOT_TOKEN: "{{ API_DISCORD_BOT_TOKEN }}"
|
||||||
|
MINECRAFT_HOST: "{{ API_MINECRAFT_HOST }}"
|
||||||
|
MINECRAFT_USER: "{{ API_MINECRAFT_USER }}"
|
||||||
|
MINECRAFT_PASSWORD: "{{ API_MINECRAFT_PASSWORD }}"
|
||||||
|
MINECRAFT_DATABASE: "{{ API_MINECRAFT_DATABASE }}"
|
||||||
|
TMDB_API_KEY: "{{ API_TMDB_TOKEN }}"
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.aapi.rule: Host(`api.alexav.gg`)
|
traefik.http.routers.aapi.rule: Host(`api.alexav.gg`)
|
||||||
|
|||||||
27
tasks/audiobookshelf.yml
Normal file
27
tasks/audiobookshelf.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy AudioBookshelf
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: audiobookshelf
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/audiobookshelf"
|
||||||
|
- "{{ data_dir }}/audiobookshelf/config"
|
||||||
|
- "{{ data_dir }}/audiobookshelf/metadata"
|
||||||
|
image:
|
||||||
|
name: ghcr.io/advplyr/audiobookshelf
|
||||||
|
tag: latest
|
||||||
|
networks:
|
||||||
|
- name: homelab
|
||||||
|
volumes:
|
||||||
|
- "{{ media_path }}/Books/Audiobooks:/audiobooks"
|
||||||
|
- "{{ data_dir }}/audiobookshelf/config:/config"
|
||||||
|
- "{{ data_dir }}/audiobookshelf/metadata:/metadata"
|
||||||
|
env:
|
||||||
|
TZ: "{{ TZ }}"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.audiobookshelf.rule: Host(`abooks.fntz.net`)
|
||||||
|
traefik.http.routers.audiobookshelf.entrypoints: webSecure
|
||||||
|
traefik.http.routers.audiobookshelf.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.audiobookshelf.loadbalancer.server.port: "80"
|
||||||
33
tasks/booklore.yml
Normal file
33
tasks/booklore.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Booklore
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: booklore
|
||||||
|
networks:
|
||||||
|
- name: homelab
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/booklore"
|
||||||
|
- "{{ data_dir }}/booklore/data"
|
||||||
|
- "{{ data_dir }}/booklore/books"
|
||||||
|
image:
|
||||||
|
name: booklore/booklore
|
||||||
|
tag: latest
|
||||||
|
env:
|
||||||
|
APP_USER_ID: "{{ PUID }}"
|
||||||
|
APP_GROUP_ID: "{{ PGID }}"
|
||||||
|
TZ: "{{ TZ }}"
|
||||||
|
BOOKLORE_PORT: "6060"
|
||||||
|
DATABASE_URL: jdbc:mariadb://172.16.0.44:3306/booklore
|
||||||
|
DATABASE_USERNAME: booklore
|
||||||
|
DATABASE_PASSWORD: "{{ BOOKLORE_DB_PASS }}"
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/booklore/data:/app/data"
|
||||||
|
- "{{ data_dir }}/booklore/books:/books"
|
||||||
|
- "{{ media_path }}/Books/Bookdrop:/bookdrop"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.booklore.rule: Host(`books.fntz.net`)
|
||||||
|
traefik.http.routers.booklore.entrypoints: webSecure
|
||||||
|
traefik.http.routers.booklore.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.booklore.loadbalancer.server.port: "6060"
|
||||||
15
tasks/cloudflared.yml
Normal file
15
tasks/cloudflared.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Cloudflared
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: cloudflared
|
||||||
|
image:
|
||||||
|
name: cloudflare/cloudflared
|
||||||
|
tag: latest
|
||||||
|
env:
|
||||||
|
TUNNEL_TOKEN: "{{ CLOUDFLARED_TUNNEL_TOKEN }}"
|
||||||
|
command: tunnel run
|
||||||
|
network_name: "tunnel"
|
||||||
|
networks:
|
||||||
|
- name: "tunnel"
|
||||||
26
tasks/cobalt.yml
Normal file
26
tasks/cobalt.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Cobalt
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: cobalt
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/cobalt"
|
||||||
|
image:
|
||||||
|
name: ghcr.io/imputnet/cobalt
|
||||||
|
tag: 11
|
||||||
|
env:
|
||||||
|
API_URL: "https://dl.alexav.gg"
|
||||||
|
JWT_SECRET: "{{ COBALT_JWT_SECRET }}"
|
||||||
|
API_AUTH_REQUIRED: "1"
|
||||||
|
API_KEY_URL: "file:///keys.json"
|
||||||
|
networks:
|
||||||
|
- name: "{{ docker_network_name }}"
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/cobalt/keys.json:/keys.json:ro"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.cobalt.rule: Host(`dl.alexav.gg`)
|
||||||
|
traefik.http.routers.cobalt.entrypoints: webSecure
|
||||||
|
traefik.http.routers.cobalt.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.cobalt.loadbalancer.server.port: "9000"
|
||||||
@@ -1,23 +1,14 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Code Server
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
name: "codeserver"
|
||||||
- "{{ data_dir }}/code-server"
|
directories:
|
||||||
|
- "{{ data_dir }}/code-server"
|
||||||
- name: Pull latest Code Server Docker Image
|
image:
|
||||||
docker_image:
|
name: lscr.io/linuxserver/code-server
|
||||||
name: lscr.io/linuxserver/code-server
|
tag: latest
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Code Server Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: codeserver
|
|
||||||
image: lscr.io/linuxserver/code-server:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,17 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: Pull latest Cup Docker Image
|
- name: Deploy Cup
|
||||||
docker_image:
|
include_role:
|
||||||
name: ghcr.io/sergi0g/cup
|
name: docker
|
||||||
tag: latest
|
vars:
|
||||||
source: pull
|
name: cup
|
||||||
|
|
||||||
- name: Create Cup Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: Cup
|
|
||||||
image: ghcr.io/sergi0g/cup
|
|
||||||
command: serve
|
command: serve
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
volumes:
|
volumes:
|
||||||
@@ -22,4 +15,6 @@
|
|||||||
traefik.http.routers.cup.entrypoints: webSecure
|
traefik.http.routers.cup.entrypoints: webSecure
|
||||||
traefik.http.routers.cup.tls.certresolver: letsencrypt
|
traefik.http.routers.cup.tls.certresolver: letsencrypt
|
||||||
traefik.http.services.cup.loadbalancer.server.port: "8000"
|
traefik.http.services.cup.loadbalancer.server.port: "8000"
|
||||||
traefik.http.routers.cup.middlewares: tinyauth
|
image:
|
||||||
|
name: ghcr.io/sergi0g/cup
|
||||||
|
tag: latest
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Pull latest Dashdot Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: mauricenino/dashdot
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Dashdot Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: dashdot
|
|
||||||
image: mauricenino/dashdot
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: homelab
|
|
||||||
volumes:
|
|
||||||
- "/:/mnt/host:ro"
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.dash.rule: Host(`stats.fntz.net`)
|
|
||||||
traefik.http.routers.dash.entrypoints: webSecure
|
|
||||||
traefik.http.routers.dash.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.dash.loadbalancer.server.port: "3001"
|
|
||||||
25
tasks/docs.yml
Normal file
25
tasks/docs.yml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Wiki.js
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: docs
|
||||||
|
image:
|
||||||
|
name: ghcr.io/requarks/wiki
|
||||||
|
tag: 2
|
||||||
|
env:
|
||||||
|
DB_TYPE: "postgres"
|
||||||
|
DB_HOST: "{{ DOCS_DB_HOST }}"
|
||||||
|
DB_PORT: "5432"
|
||||||
|
DB_USER: "wikijs"
|
||||||
|
DB_PASS: "wikijs"
|
||||||
|
DB_NAME: "wikijs"
|
||||||
|
networks:
|
||||||
|
- name: homelab
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.docs.rule: Host(`docs.fntz.net`)
|
||||||
|
traefik.http.routers.docs.entrypoints: webSecure
|
||||||
|
traefik.http.routers.docs.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.docs.loadbalancer.server.port: "3000"
|
||||||
|
traefik.http.routers.docs.middlewares: tinyauth
|
||||||
@@ -1,18 +1,14 @@
|
|||||||
---
|
---
|
||||||
- name: Pull latest Dozzle Docker Image
|
- name: Deploy Dozzle
|
||||||
docker_image:
|
include_role:
|
||||||
name: amir20/dozzle
|
name: docker
|
||||||
tag: latest
|
vars:
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Dozzle Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: dozzle
|
name: dozzle
|
||||||
image: amir20/dozzle:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
|
image:
|
||||||
|
name: amir20/dozzle
|
||||||
|
tag: latest
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,50 +1,14 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Drop
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/drop"
|
|
||||||
- "{{ data_dir }}/drop/db"
|
|
||||||
- "{{ data_dir }}/drop/app"
|
|
||||||
|
|
||||||
- name: Create Drop Network
|
|
||||||
docker_network:
|
|
||||||
name: drop
|
name: drop
|
||||||
|
directories:
|
||||||
- name: Pull latest Drop Docker Image
|
- "{{ data_dir }}/drop/app"
|
||||||
docker_image:
|
image:
|
||||||
name: ghcr.io/drop-oss/drop
|
name: ghcr.io/drop-oss/drop
|
||||||
tag: v0.3.3
|
tag: latest
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Drop DB Container
|
|
||||||
docker_container:
|
|
||||||
name: drop_postgres
|
|
||||||
image: postgres:14-alpine
|
|
||||||
recreate: true
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
networks:
|
|
||||||
- name: drop
|
|
||||||
healthcheck:
|
|
||||||
test: pg_isready -d drop -U drop
|
|
||||||
retries: 5
|
|
||||||
start_period: 10s
|
|
||||||
interval: 30s
|
|
||||||
timeout: 60s
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/drop/db:/var/lib/postgresql/data"
|
|
||||||
env:
|
|
||||||
POSTGRES_PASSWORD: "drop"
|
|
||||||
POSTGRES_USER: "drop"
|
|
||||||
POSTGRES_DB: "drop"
|
|
||||||
|
|
||||||
- name: Create Drop Container
|
|
||||||
docker_container:
|
|
||||||
name: drop
|
|
||||||
image: ghcr.io/drop-oss/drop:latest
|
|
||||||
recreate: true
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
- name: drop
|
- name: drop
|
||||||
@@ -52,7 +16,7 @@
|
|||||||
- "{{ media_path }}/Games/Desktop:/library"
|
- "{{ media_path }}/Games/Desktop:/library"
|
||||||
- "{{ data_dir }}/drop/app:/data"
|
- "{{ data_dir }}/drop/app:/data"
|
||||||
env:
|
env:
|
||||||
DATABASE_URL: "postgres://drop:drop@drop_postgres:5432/drop"
|
DATABASE_URL: "postgres://drop:drop@172.16.0.25:5432/drop"
|
||||||
GIANT_BOMB_API_KEY: "{{ DROP_GIANT_BOMB_API_KEY }}"
|
GIANT_BOMB_API_KEY: "{{ DROP_GIANT_BOMB_API_KEY }}"
|
||||||
EXTERNAL_URL: "https://games.fntz.net"
|
EXTERNAL_URL: "https://games.fntz.net"
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
26
tasks/ersatztv.yml
Normal file
26
tasks/ersatztv.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Ersatz
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: ersatztv
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/ersatz"
|
||||||
|
image:
|
||||||
|
name: ghcr.io/ersatztv/ersatztv
|
||||||
|
tag: latest
|
||||||
|
networks:
|
||||||
|
- name: homelab
|
||||||
|
published_ports:
|
||||||
|
- "8409:8409"
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/ersatz:/config"
|
||||||
|
- "{{ media_path }}:/media"
|
||||||
|
devices:
|
||||||
|
- /dev/dri:/dev/dri
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.iptv.rule: Host(`iptv.fntz.net`)
|
||||||
|
traefik.http.routers.iptv.entrypoints: webSecure
|
||||||
|
traefik.http.routers.iptv.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.iptv.loadbalancer.server.port: "8409"
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Pull latest Excalidraw Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: excalidraw/excalidraw
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Excalidraw Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: excalidraw
|
|
||||||
image: excalidraw/excalidraw
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: homelab
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.draw.rule: Host(`draw.fntz.net`)
|
|
||||||
traefik.http.routers.draw.entrypoints: webSecure
|
|
||||||
traefik.http.routers.draw.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.draw.loadbalancer.server.port: "80"
|
|
||||||
23
tasks/floof.yml
Normal file
23
tasks/floof.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Floof
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: floofs_adventure
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/floof"
|
||||||
|
networks:
|
||||||
|
- name: "{{ docker_network_name }}"
|
||||||
|
build:
|
||||||
|
git:
|
||||||
|
repo: git@git.alexav.gg:alex/floofs-adventure.git
|
||||||
|
dest: "{{ data_dir }}/floof"
|
||||||
|
image:
|
||||||
|
name: floofs-adventure
|
||||||
|
tag: latest
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.dz.rule: Host(`floof.alexav.gg`)
|
||||||
|
traefik.http.routers.dz.entrypoints: webSecure
|
||||||
|
traefik.http.routers.dz.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.dz.loadbalancer.server.port: "3001"
|
||||||
@@ -1,37 +1,26 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Frigate
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/frigate"
|
|
||||||
|
|
||||||
- name: Pull latest Frigate Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: ghcr.io/blakeblackshear/frigate
|
|
||||||
tag: stable
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Deploy Frigate Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: frigate
|
name: frigate
|
||||||
image: ghcr.io/blakeblackshear/frigate:stable
|
directories:
|
||||||
recreate: true
|
- "{{ data_dir }}/frigate"
|
||||||
|
image:
|
||||||
|
name: ghcr.io/blakeblackshear/frigate
|
||||||
|
tag: stable
|
||||||
privileged: true
|
privileged: true
|
||||||
restart_policy: unless-stopped
|
|
||||||
published_ports:
|
|
||||||
- "5000:5000"
|
|
||||||
- "8555:8555/tcp"
|
|
||||||
- "8555:8555/udp"
|
|
||||||
- "8554:8554"
|
|
||||||
devices:
|
devices:
|
||||||
- /dev/dri/renderD128:/dev/dri/renderD128
|
- /dev/dri
|
||||||
|
- /dev/kfd
|
||||||
networks:
|
networks:
|
||||||
- name: "{{ docker_network_name }}"
|
- name: "{{ docker_network_name }}"
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- "{{ data_dir }}/frigate:/config"
|
- "{{ data_dir }}/frigate:/config"
|
||||||
- "{{ FRIGATE_RECORDINGS_PATH }}:/media/frigate"
|
- "{{ media_path }}/Cameras:/media/frigate"
|
||||||
|
env:
|
||||||
|
LIBVA_DRIVER_NAME: radeonsi
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.frigate.rule: Host(`nvr.fntz.net`)
|
traefik.http.routers.frigate.rule: Host(`nvr.fntz.net`)
|
||||||
|
|||||||
@@ -1,23 +1,14 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Gitea
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/gitea"
|
|
||||||
|
|
||||||
- name: Pull latest Gitea Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: docker.gitea.com/gitea
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Gitea Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: gitea
|
name: gitea
|
||||||
image: docker.gitea.com/gitea:latest
|
directories:
|
||||||
restart_policy: unless-stopped
|
- "{{ data_dir }}/gitea"
|
||||||
recreate: true
|
image:
|
||||||
|
name: docker.gitea.com/gitea
|
||||||
|
tag: latest
|
||||||
networks:
|
networks:
|
||||||
- name: "{{ docker_network_name }}"
|
- name: "{{ docker_network_name }}"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,32 +1,22 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Glance
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/glance"
|
|
||||||
- "{{ data_dir }}/glance/config"
|
|
||||||
- "{{ data_dir }}/glance/assets"
|
|
||||||
|
|
||||||
- name: Pull latest Glance Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: glanceapp/glance
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Glance Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: glance
|
name: glance
|
||||||
image: glanceapp/glance
|
image:
|
||||||
restart_policy: unless-stopped
|
name: glanceapp/glance
|
||||||
recreate: true
|
tag: latest
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/glance"
|
||||||
|
- "{{ data_dir }}/glance/config"
|
||||||
|
- "{{ data_dir }}/glance/assets"
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
env:
|
env:
|
||||||
PIHOLE_TOKEN: "{{ GLANCE_PIHOLE_TOKEN }}"
|
ADGUARD_USERNAME: "{{ GLANCE_ADGUARD_USERNAME }}"
|
||||||
|
ADGUARD_PASSWORD: "{{ GLANCE_ADGUARD_PASSWORD }}"
|
||||||
VIDEO_MACHINE: "{{ GLANCE_VIDEO_MACHINE }}"
|
VIDEO_MACHINE: "{{ GLANCE_VIDEO_MACHINE }}"
|
||||||
JELLYFIN_URL: "{{ GLANCE_JELLYFIN_URL }}"
|
|
||||||
JELLYFIN_TOKEN: "{{ GLANCE_JELLYFIN_TOKEN }}"
|
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/glance/config:/app/config"
|
- "{{ data_dir }}/glance/config:/app/config"
|
||||||
- "{{ data_dir }}/glance/assets:/app/assets"
|
- "{{ data_dir }}/glance/assets:/app/assets"
|
||||||
|
|||||||
@@ -1,95 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/helium"
|
|
||||||
|
|
||||||
- name: Clone latest services
|
|
||||||
git:
|
|
||||||
repo: git@git.alexav.gg:alex/helium-services.git
|
|
||||||
dest: "{{ data_dir }}/helium"
|
|
||||||
|
|
||||||
- name: Build NGINX image
|
|
||||||
docker_image:
|
|
||||||
name: helium_nginx
|
|
||||||
tag: "latest"
|
|
||||||
build:
|
|
||||||
args:
|
|
||||||
SERVICES_HOSTNAME: "{{ HELIUM_BASE_URL }}"
|
|
||||||
path: "{{ data_dir }}/helium/svc"
|
|
||||||
dockerfile: "{{ data_dir }}/helium/svc/nginx/Dockerfile"
|
|
||||||
source: build
|
|
||||||
force_source: yes
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Build Extension Proxy image
|
|
||||||
docker_image:
|
|
||||||
name: helium_ext_proxy
|
|
||||||
tag: "latest"
|
|
||||||
build:
|
|
||||||
path: "{{ data_dir }}/helium/svc/extension-proxy"
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
source: build
|
|
||||||
force_source: yes
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Build UBO image
|
|
||||||
docker_image:
|
|
||||||
name: helium_ubo
|
|
||||||
tag: "latest"
|
|
||||||
build:
|
|
||||||
path: "{{ data_dir }}/helium/svc/ubo"
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
source: build
|
|
||||||
force_source: yes
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Create Helium Network
|
|
||||||
docker_network:
|
|
||||||
name: helium
|
|
||||||
|
|
||||||
- name: Create NGINX Container
|
|
||||||
docker_container:
|
|
||||||
name: helium_nginx
|
|
||||||
image: helium_nginx:latest
|
|
||||||
recreate: true
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
shm_size: "512M"
|
|
||||||
networks:
|
|
||||||
- name: helium
|
|
||||||
- name: homelab
|
|
||||||
mounts:
|
|
||||||
- type: tmpfs
|
|
||||||
target: /tmp
|
|
||||||
tmpfs_size: 5G
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.helium.rule: Host(`helium.fntz.net`)
|
|
||||||
traefik.http.routers.helium.entrypoints: webSecure
|
|
||||||
traefik.http.routers.helium.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.helium.loadbalancer.server.port: "80"
|
|
||||||
|
|
||||||
- name: Create UBO Proxy Container
|
|
||||||
docker_container:
|
|
||||||
name: helium_ubo
|
|
||||||
image: helium_ubo:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: helium
|
|
||||||
env:
|
|
||||||
UBO_PROXY_BASE_URL: "https://{{ HELIUM_BASE_URL }}/ubo"
|
|
||||||
|
|
||||||
- name: Create Extension Proxy Container
|
|
||||||
docker_container:
|
|
||||||
name: helium_ext_proxy
|
|
||||||
image: helium_ext_proxy:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: helium
|
|
||||||
env:
|
|
||||||
HMAC_SECRET: "{{ HELIUM_EXT_HMAC_SECRET }}"
|
|
||||||
PROXY_BASE_URL: "https://{{ HELIUM_BASE_URL }}/ext"
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/homeassistant"
|
|
||||||
|
|
||||||
- name: Pull HA Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: ghcr.io/home-assistant/home-assistant:stable
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Deploy Home Assistant Container
|
|
||||||
docker_container:
|
|
||||||
name: home_assistant
|
|
||||||
image: ghcr.io/home-assistant/home-assistant:stable
|
|
||||||
recreate: true
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
network_mode: host
|
|
||||||
privileged: true
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/homeassistant:/config"
|
|
||||||
- "/etc/localtime:/etc/localtime"
|
|
||||||
- "/run/dbus:/run/dbus:ro"
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.ha.rule: Host(`ha.fntz.net`)
|
|
||||||
traefik.http.routers.ha.entrypoints: webSecure
|
|
||||||
traefik.http.routers.ha.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.ha.loadbalancer.server.url: "http://{{ TRAEFIK_HOST_IP }}:8123"
|
|
||||||
@@ -1,30 +1,14 @@
|
|||||||
---
|
---
|
||||||
- name: Create Folder structure
|
- name: Deploy Homebridge
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/homebridge"
|
|
||||||
|
|
||||||
- name: Pull latest Homebridge Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: homebridge/homebridge
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Homebridge Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: homebridge
|
name: homebridge
|
||||||
image: homebridge/homebridge:latest
|
directories:
|
||||||
restart_policy: unless-stopped
|
- "{{ data_dir }}/homebridge/homebridge"
|
||||||
|
image:
|
||||||
|
name: homebridge/homebridge
|
||||||
|
tag: latest
|
||||||
network_mode: host
|
network_mode: host
|
||||||
recreate: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/homebridge:/homebridge"
|
- "{{ data_dir }}/homebridge:/homebridge"
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.bridge.rule: Host(`bridge.fntz.net`)
|
|
||||||
traefik.http.routers.bridge.entrypoints: webSecure
|
|
||||||
traefik.http.routers.bridge.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.bridge.loadbalancer.server.url: "http://{{ TRAEFIK_HOST_IP }}:8581"
|
|
||||||
traefik.http.routers.bridge.middlewares: tinyauth
|
|
||||||
|
|||||||
@@ -1,28 +1,16 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Immich DB
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/immich"
|
|
||||||
- "{{ data_dir }}/immich/model-cache"
|
|
||||||
- "{{ data_dir }}/immich/db"
|
|
||||||
|
|
||||||
- name: Create Immich Redis Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: immich_redis
|
|
||||||
image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: immich
|
|
||||||
|
|
||||||
- name: Create Immich DB Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: immich_postgres
|
name: immich_postgres
|
||||||
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
|
directories:
|
||||||
restart_policy: unless-stopped
|
- "{{ data_dir }}/immich"
|
||||||
recreate: true
|
- "{{ data_dir }}/immich/model-cache"
|
||||||
|
- "{{ data_dir }}/immich/db"
|
||||||
|
image:
|
||||||
|
name: ghcr.io/immich-app/postgres
|
||||||
|
tag: 14-vectorchord0.4.3-pgvectors0.2.0
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/immich/db:/var/lib/postgresql/data"
|
- "{{ data_dir }}/immich/db:/var/lib/postgresql/data"
|
||||||
env:
|
env:
|
||||||
@@ -32,24 +20,25 @@
|
|||||||
POSTGRES_INITDB_ARGS: "--data-checksums"
|
POSTGRES_INITDB_ARGS: "--data-checksums"
|
||||||
networks:
|
networks:
|
||||||
- name: immich
|
- name: immich
|
||||||
|
network_name: immich
|
||||||
# - name: Create Immich ML Docker Container
|
- name: Deploy Immich Redis
|
||||||
# docker_container:
|
include_role:
|
||||||
# name: immich_machine_learning
|
name: docker
|
||||||
# image: ghcr.io/immich-app/immich-machine-learning:release
|
vars:
|
||||||
# restart_policy: unless-stopped
|
name: immich_redis
|
||||||
# recreate: true
|
image:
|
||||||
# volumes:
|
name: docker.io/valkey/valkey
|
||||||
# - "{{ data_dir }}/immich/model-cache:/cache"
|
tag: 8-bookworm
|
||||||
# networks:
|
networks:
|
||||||
# - name: immich
|
- name: immich
|
||||||
|
- name: Deploy Immich Server
|
||||||
- name: Create Immich Server Docker Container
|
include_role:
|
||||||
docker_container:
|
name: docker
|
||||||
name: immich_server
|
vars:
|
||||||
image: ghcr.io/immich-app/immich-server:release
|
name: immich
|
||||||
restart_policy: unless-stopped
|
image:
|
||||||
recreate: true
|
name: ghcr.io/immich-app/immich-server
|
||||||
|
tag: v2.1.0
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
- name: immich
|
- name: immich
|
||||||
@@ -57,10 +46,13 @@
|
|||||||
- "{{ IMMICH_UPLOAD_LOCATION }}:/usr/src/app/upload"
|
- "{{ IMMICH_UPLOAD_LOCATION }}:/usr/src/app/upload"
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
env:
|
env:
|
||||||
|
PUID: "{{ PUID }}"
|
||||||
|
PGID: "{{ PGID }}"
|
||||||
DB_HOSTNAME: "immich_postgres"
|
DB_HOSTNAME: "immich_postgres"
|
||||||
REDIS_HOSTNAME: "immich_redis"
|
REDIS_HOSTNAME: "immich_redis"
|
||||||
DB_PASSWORD: "{{ IMMICH_DB_PASSWORD }}"
|
DB_PASSWORD: "{{ IMMICH_DB_PASSWORD }}"
|
||||||
DB_USERNAME: "{{ IMMICH_DB_USERNAME }}"
|
DB_USERNAME: "{{ IMMICH_DB_USERNAME }}"
|
||||||
|
DB_DATABASE_NAME: "{{ IMMICH_DB_DATABASE_NAME }}"
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.img.rule: Host(`img.fntz.net`)
|
traefik.http.routers.img.rule: Host(`img.fntz.net`)
|
||||||
|
|||||||
@@ -1,39 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/jellyfin"
|
|
||||||
|
|
||||||
- name: Pull latest Jellyfin Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: lscr.io/linuxserver/jellyfin
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Jellyfin Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: jellyfin
|
|
||||||
image: lscr.io/linuxserver/jellyfin:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: homelab
|
|
||||||
published_ports:
|
|
||||||
- 8096:8096
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/jellyfin:/config"
|
|
||||||
- "{{ JELLYFIN_TV_PATH }}:/data/tvshows"
|
|
||||||
- "{{ JELLYFIN_MOVIE_PATH }}:/data/movies"
|
|
||||||
- "{{ JELLYFIN_MUSIC_PATH }}:/data/music"
|
|
||||||
env:
|
|
||||||
PUID: "{{ PUID }}"
|
|
||||||
PGID: "{{ PGID }}"
|
|
||||||
TZ: "{{ TZ }}"
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.jf.rule: Host(`jf.fntz.net`)
|
|
||||||
traefik.http.routers.jf.entrypoints: webSecure
|
|
||||||
traefik.http.routers.jf.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.jf.loadbalancer.server.port: "8096"
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/kavita"
|
|
||||||
|
|
||||||
- name: Pull latest Kavita Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: lscr.io/linuxserver/kavita
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Deploy Kavita Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: kavita
|
|
||||||
image: lscr.io/linuxserver/kavita
|
|
||||||
recreate: true
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/kavita:/config"
|
|
||||||
- "{{ media_path }}/Books:/books"
|
|
||||||
env:
|
|
||||||
PUID: "{{ PUID }}"
|
|
||||||
PGID: "{{ PGID }}"
|
|
||||||
TZ: "{{ TZ }}"
|
|
||||||
networks:
|
|
||||||
- name: homelab
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.read.rule: Host(`read.fntz.net`)
|
|
||||||
traefik.http.routers.read.entrypoints: webSecure
|
|
||||||
traefik.http.routers.read.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.read.loadbalancer.server.port: "5000"
|
|
||||||
41
tasks/mariadb.yml
Normal file
41
tasks/mariadb.yml
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy MariaDB Database
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: mariadb
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/db"
|
||||||
|
- "{{ data_dir }}/db/import"
|
||||||
|
image:
|
||||||
|
name: mariadb
|
||||||
|
tag: latest
|
||||||
|
published_ports:
|
||||||
|
- "3306:3306"
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/db:/var/lib/mysql"
|
||||||
|
- "{{ data_dir }}/db/etc:/etc/mysql"
|
||||||
|
- "{{ data_dir }}/db/import:/mnt/import"
|
||||||
|
env:
|
||||||
|
MARIADB_USER: "{{ MARIADB_DB_USER }}"
|
||||||
|
MARIADB_ROOT_PASSWORD: "{{ MARIADB_DB_PASSWORD }}"
|
||||||
|
|
||||||
|
- name: Deploy PHPMyAdmin
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: phpmyadmin
|
||||||
|
image:
|
||||||
|
name: phpmyadmin
|
||||||
|
tag: latest
|
||||||
|
networks:
|
||||||
|
- name: "{{ docker_network_name }}"
|
||||||
|
env:
|
||||||
|
PMA_HOST: "{{ MARIADB_PMA_HOST }}"
|
||||||
|
PMA_PORT: "{{ MARIADB_PMA_PORT }}"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.pma.rule: Host(`{{ MARIADB_PMA_URL }}`)
|
||||||
|
traefik.http.routers.pma.entrypoints: webSecure
|
||||||
|
traefik.http.routers.pma.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.pma.loadbalancer.server.port: "80"
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/nextcloud"
|
|
||||||
- "{{ data_dir }}/nextcloud/data"
|
|
||||||
- "{{ data_dir }}/nextcloud/db"
|
|
||||||
|
|
||||||
- name: Create Nextcloud Docker Network
|
|
||||||
docker_network:
|
|
||||||
name: nextcloud
|
|
||||||
|
|
||||||
- name: Pull latest Nextcloud Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: nextcloud
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Nextcloud DB Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: nc_postgresql
|
|
||||||
image: postgres:17-alpine
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: nextcloud
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/nextcloud/db:/var/lib/postgresql/data"
|
|
||||||
env:
|
|
||||||
PGDATA: /var/lib/postgresql/data/pgdata
|
|
||||||
POSTGRES_PASSWORD: "{{ NEXTCLOUD_POSTGRES_PASSWORD }}"
|
|
||||||
POSTGRES_DATABASE: "{{ NEXTCLOUD_POSTGRES_DATABASE }}"
|
|
||||||
POSTGRES_USER: "{{ NEXTCLOUD_POSTGRES_USER }}"
|
|
||||||
POSTGRES_HOST: "{{ NEXTCLOUD_POSTGRES_HOST }}"
|
|
||||||
|
|
||||||
- name: Create Nextcloud Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: nextcloud
|
|
||||||
image: nextcloud
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: "{{ docker_network_name }}"
|
|
||||||
- name: nextcloud
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/nextcloud/data:/var/www/html"
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.nc.rule: Host(`{{ NEXTCLOUD_APP_URL }}`)
|
|
||||||
traefik.http.routers.nc.entrypoints: webSecure
|
|
||||||
traefik.http.routers.nc.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.nc.loadbalancer.server.port: "80"
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/nfl-proxy"
|
|
||||||
|
|
||||||
- name: "Clone latest NFL-Proxy"
|
|
||||||
git:
|
|
||||||
repo: "git@git.alexav.gg:alex/nfl-proxy.git"
|
|
||||||
dest: "{{ data_dir }}/nfl-proxy"
|
|
||||||
|
|
||||||
- name: "Stop & remove existing PM2 containers"
|
|
||||||
ignore_errors: yes
|
|
||||||
shell: |
|
|
||||||
/home/alex/.nvm/versions/node/v24.4.0/bin/pm2 delete "nfl-proxy"
|
|
||||||
|
|
||||||
- name: "Start new PM2 container"
|
|
||||||
args:
|
|
||||||
chdir: "{{ data_dir }}/nfl-proxy"
|
|
||||||
shell: |
|
|
||||||
/home/alex/.nvm/versions/node/v24.4.0/bin/pm2 start --name="nfl-proxy" "venv/bin/activate && venv/bin/python main.py"
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/ntfy"
|
|
||||||
- "{{ data_dir }}/ntfy/cache"
|
|
||||||
- "{{ data_dir }}/ntfy/data"
|
|
||||||
|
|
||||||
- name: Pull latest Ntfy Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: binwiederhier/ntfy
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Ntfy Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: ntfy
|
|
||||||
image: binwiederhier/ntfy
|
|
||||||
command: serve
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: homelab
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/ntfy/cache:/var/cache/ntfy"
|
|
||||||
- "{{ data_dir }}/ntfy/data:/etc/ntfy"
|
|
||||||
env:
|
|
||||||
UPSTREAM_BASE_URL: "{{ NTFY_UPSTREAM_BASE_URL }}"
|
|
||||||
BASE_URL: "{{ NTFY_BASE_URL }}"
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.ntfy.rule: Host(`push.fntz.net`)
|
|
||||||
traefik.http.routers.ntfy.entrypoints: webSecure
|
|
||||||
traefik.http.routers.ntfy.tls.certresolver: letsencrypt
|
|
||||||
@@ -1,34 +1,25 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy NZBGet
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/nzbget"
|
|
||||||
|
|
||||||
- name: Pull latest NZBGet Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: lscr.io/linuxserver/nzbget
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create NZBGet Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: nzbget
|
name: nzbget
|
||||||
image: lscr.io/linuxserver/nzbget:latest
|
directories:
|
||||||
restart_policy: unless-stopped
|
- "{{ data_dir }}/nzbget"
|
||||||
recreate: true
|
image:
|
||||||
|
name: lscr.io/linuxserver/nzbget
|
||||||
|
tag: latest
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/nzbget:/config"
|
- "{{ data_dir }}/nzbget:/config"
|
||||||
- "{{ NZBGET_DOWNLOADS_PATH }}:/downloads"
|
- "{{ media_path }}/Downloads:/downloads"
|
||||||
env:
|
env:
|
||||||
NZBGET_USER: "{{ NZBGET_USER }}"
|
NZBGET_USER: "{{ NZBGET_USER }}"
|
||||||
NZBGET_PASS: "{{ NZBGET_PASS }}"
|
NZBGET_PASS: "{{ NZBGET_PASS }}"
|
||||||
TZ: "{{ TZ }}"
|
TZ: "{{ TZ }}"
|
||||||
PUID: "{{ PUID }}"
|
PUID: "1000"
|
||||||
PGID: "{{ PGID }}"
|
PGID: "1000"
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.nzb.rule: Host(`nzb.fntz.net`)
|
traefik.http.routers.nzb.rule: Host(`nzb.fntz.net`)
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/obsidian"
|
|
||||||
- "{{ data_dir }}/obsidian/data"
|
|
||||||
- "{{ data_dir }}/obsidian/etc"
|
|
||||||
|
|
||||||
- name: Pull Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: couchdb
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: couchdb
|
|
||||||
image: couchdb:latest
|
|
||||||
recreate: true
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
networks:
|
|
||||||
- name: homelab
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/obsidian/data:/opt/couchdb/data"
|
|
||||||
- "{{ data_dir }}/obsidian/etc:/opt/couchdb/etc/local.d"
|
|
||||||
env:
|
|
||||||
COUCHDB_USER: "{{ COUCHDB_USER }}"
|
|
||||||
COUCHDB_PASSWORD: "{{ COUCHDB_PASSWORD }}"
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.couch.rule: Host(`couch.fntz.net`)
|
|
||||||
traefik.http.routers.couch.entrypoints: webSecure
|
|
||||||
traefik.http.routers.couch.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.couch.loadbalancer.server.port: "5984"
|
|
||||||
@@ -1,93 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/owncloud"
|
|
||||||
- "{{ data_dir }}/owncloud/data"
|
|
||||||
- "{{ data_dir }}/owncloud/db"
|
|
||||||
- "{{ data_dir }}/owncloud/redis"
|
|
||||||
|
|
||||||
- name: Create Owncloud Docker Network
|
|
||||||
docker_network:
|
|
||||||
name: owncloud
|
|
||||||
|
|
||||||
- name: Pull latest Owncloud Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: owncloud/server
|
|
||||||
tag: "10.15"
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Owncloud DB Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: oc_database
|
|
||||||
image: mariadb:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: owncloud
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/owncloud/db:/var/lib/mysql"
|
|
||||||
env:
|
|
||||||
MYSQL_ROOT_PASSWORD: "{{ OWNCLOUD_DB_PASSWORD }}"
|
|
||||||
MYSQL_DATABASE: "owncloud"
|
|
||||||
MYSQL_USER: "owncloud"
|
|
||||||
MYSQL_PASSWORD: "{{ OWNCLOUD_DB_PASSWORD }}"
|
|
||||||
MARIADB_AUTO_UPGRADE: "1"
|
|
||||||
command: "--max-allowed-packet=128M --innodb-log-file-size=64M"
|
|
||||||
healthcheck:
|
|
||||||
test: "CMD mysqladmin ping -u root --password={{ OWNCLOUD_DB_PASSWORD }}"
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
|
|
||||||
- name: Create Owncloud Redis Container
|
|
||||||
docker_container:
|
|
||||||
name: oc_redis
|
|
||||||
image: redis:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: owncloud
|
|
||||||
command: "--databases 1"
|
|
||||||
healthcheck:
|
|
||||||
test: CMD redis-cli ping
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/owncloud/redis:/data"
|
|
||||||
|
|
||||||
- name: Create Owncloud Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: owncloud
|
|
||||||
image: owncloud/server:10.15
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: "{{ docker_network_name }}"
|
|
||||||
- name: owncloud
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/owncloud/data:/mnt/data"
|
|
||||||
env:
|
|
||||||
OWNCLOUD_DOMAIN: "{{ OWNCLOUD_APP_URL }}"
|
|
||||||
OWNCLOUD_TRUSTED_DOMAINS: "{{ OWNCLOUD_APP_URL }}"
|
|
||||||
OWNCLOUD_DB_TYPE: "mysql"
|
|
||||||
OWNCLOUD_DB_NAME: "owncloud"
|
|
||||||
OWNCLOUD_DB_USERNAME: "owncloud"
|
|
||||||
OWNCLOUD_DB_PASSWORD: "{{ OWNCLOUD_DB_PASSWORD }}"
|
|
||||||
OWNCLOUD_DB_HOST: "oc_database"
|
|
||||||
OWNCLOUD_ADMIN_USERNAME: "{{ OWNCLOUD_ADMIN_USERNAME }}"
|
|
||||||
OWNCLOUD_ADMIN_PASSWORD: "{{ OWNCLOUD_ADMIN_PASSWORD }}"
|
|
||||||
OWNCLOUD_MYSQL_UTF8MB4: "true"
|
|
||||||
OWNCLOUD_REDIS_ENBALED: "true"
|
|
||||||
OWNCLOUD_REDIS_HOST: "oc_redis"
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.nc.rule: Host(`{{ OWNCLOUD_APP_URL }}`)
|
|
||||||
traefik.http.routers.nc.entrypoints: webSecure
|
|
||||||
traefik.http.routers.nc.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.nc.loadbalancer.server.port: "8080"
|
|
||||||
traefik.http.middlewares.limit.buffering.maxRequestBodyBytes: "1073741824"
|
|
||||||
traefik.http.routers.nc.middlewares: "limit"
|
|
||||||
42
tasks/pelican.yml
Normal file
42
tasks/pelican.yml
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
- name: Create folder structure
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- "{{ data_dir }}/pelican"
|
||||||
|
|
||||||
|
- name: Create Pelican Caddyfile
|
||||||
|
template:
|
||||||
|
src: templates/pelican/Caddyfile
|
||||||
|
dest: "{{ data_dir }}/pelican/Caddyfile"
|
||||||
|
|
||||||
|
- name: Deploy Pelican Panel
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: Pelican
|
||||||
|
image:
|
||||||
|
name: ghcr.io/pelican-dev/panel
|
||||||
|
tag: latest
|
||||||
|
volumes:
|
||||||
|
- "pelican-data:/pelican-data"
|
||||||
|
- "pelican-logs:/var/www/html/storage/logs"
|
||||||
|
- "{{ data_dir }}/pelican/Caddyfile:/etc/caddy/Caddyfile"
|
||||||
|
etc_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
|
networks:
|
||||||
|
- name: "{{ docker_network_name }}"
|
||||||
|
env:
|
||||||
|
XDG_DATA_HOME: /pelican-data
|
||||||
|
TRUSTED_PROXIES: "172.21.0.0/16"
|
||||||
|
APP_URL: "https://{{ PELICAN_APP_URL }}"
|
||||||
|
ADMIN_EMAIL: "{{ PELICAN_EMAIL }}"
|
||||||
|
PUID: "{{ PUID }}"
|
||||||
|
PGID: "{{ PGID }}"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.pelican.rule: Host(`{{ PELICAN_APP_URL }}`)
|
||||||
|
traefik.http.routers.pelican.entrypoints: webSecure
|
||||||
|
traefik.http.routers.pelican.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.pelican.loadbalancer.server.port: "80"
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create folder structure
|
|
||||||
file:
|
|
||||||
path: "{{ item }}"
|
|
||||||
state: directory
|
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/pihole"
|
|
||||||
|
|
||||||
- name: Pull latest PiHole Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: pihole/pihole
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create PiHole Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: pihole
|
|
||||||
image: pihole/pihole:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: homelab
|
|
||||||
published_ports:
|
|
||||||
- "{{ TRAEFIK_HOST_IP }}:53:53/tcp"
|
|
||||||
- "{{ TRAEFIK_HOST_IP }}:53:53/udp"
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/pihole:/etc/pihole"
|
|
||||||
env:
|
|
||||||
FTLCONF_webserver_api_password: "{{ PIHOLE_FTLCONF_WEBSERVER_API_PASSWORD }}"
|
|
||||||
TZ: "{{ TZ }}"
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.pihole.rule: Host(`pihole.fntz.net`)
|
|
||||||
traefik.http.routers.pihole.entrypoints: webSecure
|
|
||||||
traefik.http.routers.pihole.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.pihole.loadbalancer.server.port: "80"
|
|
||||||
@@ -3,7 +3,6 @@
|
|||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
owner: 999
|
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ data_dir }}/plausible"
|
- "{{ data_dir }}/plausible"
|
||||||
- "{{ data_dir }}/plausible/app"
|
- "{{ data_dir }}/plausible/app"
|
||||||
|
|||||||
@@ -1,29 +1,18 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Plex
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/plex"
|
|
||||||
|
|
||||||
- name: Pull latest Plex Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: lscr.io/linuxserver/plex
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Deploy Plex Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: plex
|
name: plex
|
||||||
image: lscr.io/linuxserver/plex
|
image:
|
||||||
|
name: lscr.io/linuxserver/plex
|
||||||
|
tag: latest
|
||||||
network_mode: host
|
network_mode: host
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
devices:
|
devices:
|
||||||
- /dev/dri:/dev/dri
|
- /dev/dri:/dev/dri
|
||||||
env:
|
env:
|
||||||
PUID: "{{ PUID }}"
|
PUID: "1000"
|
||||||
PGID: "{{ PGID }}"
|
PGID: "1000"
|
||||||
TZ: "{{ TZ }}"
|
TZ: "{{ TZ }}"
|
||||||
VERSION: "docker"
|
VERSION: "docker"
|
||||||
PLEX_CLAIM: "{{ PLEX_CLAIM_TOKEN }}"
|
PLEX_CLAIM: "{{ PLEX_CLAIM_TOKEN }}"
|
||||||
|
|||||||
@@ -1,28 +1,20 @@
|
|||||||
---
|
---
|
||||||
- name: Create Folder structure
|
- name: Deploy PocketID
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/pocketid"
|
|
||||||
|
|
||||||
- name: Pull latest PocketID Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: ghcr.io/pocket-id/pocket-id
|
|
||||||
tag: v1
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create PocketID Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: pocketid
|
name: pocketid
|
||||||
image: ghcr.io/pocket-id/pocket-id:v1
|
directories:
|
||||||
restart_policy: unless-stopped
|
- "{{ data_dir }}/pocketid"
|
||||||
recreate: true
|
image:
|
||||||
|
name: ghcr.io/pocket-id/pocket-id
|
||||||
|
tag: v2
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/pocketid:/app/data"
|
- "{{ data_dir }}/pocketid:/app/data"
|
||||||
env:
|
env:
|
||||||
|
ENCRYPTION_KEY: "{{ POCKETID_ENCRYPTION_KEY }}"
|
||||||
APP_URL: "{{ POCKETID_APP_URL }}"
|
APP_URL: "{{ POCKETID_APP_URL }}"
|
||||||
TRUST_PROXY: "{{ POCKETID_TRUST_PROXY }}"
|
TRUST_PROXY: "{{ POCKETID_TRUST_PROXY }}"
|
||||||
PUID: "{{ PUID }}"
|
PUID: "{{ PUID }}"
|
||||||
|
|||||||
21
tasks/postgres.yml
Normal file
21
tasks/postgres.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
- name: Deploy Postgres
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: postgres
|
||||||
|
image:
|
||||||
|
name: postgres
|
||||||
|
tag: 18-alpine
|
||||||
|
published_ports:
|
||||||
|
- "5432:5432"
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/postgres"
|
||||||
|
- "{{ data_dir }}/postgres/data"
|
||||||
|
- "{{ data_dir }}/postgres/import"
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/postgres/data:/var/lib/postgresql/18/docker"
|
||||||
|
- "{{ data_dir }}/postgres/import:/mnt/import"
|
||||||
|
env:
|
||||||
|
POSTGRES_USER: "{{ POSTGRES_USER }}"
|
||||||
|
POSTGRES_PASSWORD: "{{ POSTGRES_PASSWORD }}"
|
||||||
89
tasks/pterodactyl.yml
Normal file
89
tasks/pterodactyl.yml
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
---
|
||||||
|
- name: Create folder structure
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- "{{ data_dir }}/pterodactyl"
|
||||||
|
- "{{ data_dir }}/pterodactyl/var"
|
||||||
|
- "{{ data_dir }}/pterodactyl/logs"
|
||||||
|
- "{{ data_dir }}/pterodactyl/nginx"
|
||||||
|
- "{{ data_dir }}/pterodactyl/db"
|
||||||
|
|
||||||
|
- name: Create Pterodactyl Network
|
||||||
|
docker_network:
|
||||||
|
name: pterodactyl
|
||||||
|
|
||||||
|
- name: Pull latest MariaDB Docker Image
|
||||||
|
docker_image:
|
||||||
|
name: mariadb
|
||||||
|
tag: "10.5"
|
||||||
|
source: pull
|
||||||
|
- name: Pull latest Redis Docker image
|
||||||
|
docker_image:
|
||||||
|
name: redis
|
||||||
|
tag: 7-alpine
|
||||||
|
source: pull
|
||||||
|
- name: Pull latest Pterodactyl Docker image
|
||||||
|
docker_image:
|
||||||
|
name: ghcr.io/pterodactyl/panel
|
||||||
|
tag: latest
|
||||||
|
source: pull
|
||||||
|
|
||||||
|
- name: Create Redis Container
|
||||||
|
docker_container:
|
||||||
|
name: pterodactyl_redis
|
||||||
|
image: redis:7-alpine
|
||||||
|
recreate: true
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
networks:
|
||||||
|
- name: pterodactyl
|
||||||
|
|
||||||
|
- name: Create Database Container
|
||||||
|
docker_container:
|
||||||
|
name: pterodactyl_db
|
||||||
|
image: mariadb:10.5
|
||||||
|
command: --default-authentication-plugin=mysql_native_password
|
||||||
|
recreate: true
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/pterodactyl/db:/var/lib/mysql"
|
||||||
|
networks:
|
||||||
|
- name: pterodactyl
|
||||||
|
env:
|
||||||
|
MYSQL_DATABASE: "panel"
|
||||||
|
MYSQL_USER: "pterodactyl"
|
||||||
|
MYSQL_ROOT_PASSWORD: "{{ PTERODACTYL_MYSQL_ROOT_PASSWORD }}"
|
||||||
|
MYSQL_PASSWORD: "{{ PTERODACTYL_MYSQL_PASSWORD }}"
|
||||||
|
|
||||||
|
- name: Create Pterodactyl Docker Container
|
||||||
|
docker_container:
|
||||||
|
name: pterodactyl
|
||||||
|
image: ghcr.io/pterodactyl/panel:latest
|
||||||
|
recreate: true
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
networks:
|
||||||
|
- name: pterodactyl
|
||||||
|
- name: "{{ docker_network_name }}"
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/pterodactyl/nginx:/etc/nginx/http.d"
|
||||||
|
- "{{ data_dir }}/pterodactyl/logs:/app/storage/logs"
|
||||||
|
- "{{ data_dir }}/pterodactyl/var:/app/var"
|
||||||
|
env:
|
||||||
|
APP_URL: "{{ PTERODACTYL_APP_URL }}"
|
||||||
|
APP_ENVIRONMENT_ONLY: "false"
|
||||||
|
APP_TIMEZONE: "{{ TZ }}"
|
||||||
|
DB_PASSWORD: "{{ PTERODACTYL_MYSQL_PASSWORD }}"
|
||||||
|
APP_ENV: "production"
|
||||||
|
CACHE_DRIVER: "redis"
|
||||||
|
SESSION_DRIVER: "redis"
|
||||||
|
QUEUE_DRIVER: "redis"
|
||||||
|
REDIS_HOST: "pterodactyl_redis"
|
||||||
|
DB_HOST: "pterodactyl_db"
|
||||||
|
TRUSTED_PROXIES: "*"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.panel.rule: Host(`{{ PTERODACTYL_APP_URL }}`)
|
||||||
|
traefik.http.routers.panel.entrypoints: webSecure
|
||||||
|
traefik.http.routers.panel.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.panel.loadbalancer.server.port: "80"
|
||||||
@@ -1,52 +1,19 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Romm
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/romm"
|
|
||||||
- "{{ data_dir }}/romm/igdb"
|
|
||||||
- "{{ data_dir }}/romm/assets"
|
|
||||||
- "{{ data_dir }}/romm/config"
|
|
||||||
- "{{ data_dir }}/romm/db"
|
|
||||||
|
|
||||||
- name: Pull latest Romm Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: rommapp/romm
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Romm DB Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: romm-db
|
|
||||||
image: mariadb:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
networks:
|
|
||||||
- name: romm
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/romm/db:/var/lib/mysql"
|
|
||||||
env:
|
|
||||||
MARIADB_ROOT_PASSWORD: romm
|
|
||||||
MARIADB_DATABASE: romm
|
|
||||||
MARIADB_USER: romm-user
|
|
||||||
MARIADB_PASSWORD: romm
|
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
|
||||||
start_period: 30s
|
|
||||||
interval: 10s
|
|
||||||
timeout: 5s
|
|
||||||
retries: 5
|
|
||||||
|
|
||||||
- name: Create Romm Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: romm
|
name: romm
|
||||||
image: rommapp/romm:latest
|
directories:
|
||||||
restart_policy: unless-stopped
|
- "{{ data_dir }}/romm"
|
||||||
recreate: true
|
- "{{ data_dir }}/romm/igdb"
|
||||||
|
- "{{ data_dir }}/romm/assets"
|
||||||
|
- "{{ data_dir }}/romm/config"
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
- name: romm
|
image:
|
||||||
|
name: rommapp/romm
|
||||||
|
tag: latest
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/romm/igdb:/romm/resources"
|
- "{{ data_dir }}/romm/igdb:/romm/resources"
|
||||||
- "{{ data_dir }}/romm/redis:/redis-data"
|
- "{{ data_dir }}/romm/redis:/redis-data"
|
||||||
@@ -54,19 +21,19 @@
|
|||||||
- "{{ data_dir }}/romm/config:/romm/config"
|
- "{{ data_dir }}/romm/config:/romm/config"
|
||||||
- "{{ ROMM_LIBRARY_PATH }}:/romm/library"
|
- "{{ ROMM_LIBRARY_PATH }}:/romm/library"
|
||||||
env:
|
env:
|
||||||
DB_HOST: romm-db
|
DB_HOST: 172.16.0.44
|
||||||
DB_NAME: romm
|
DB_NAME: romm
|
||||||
DB_USER: romm-user
|
DB_USER: rommuser
|
||||||
DB_PASSWD: romm
|
DB_PASSWD: romm
|
||||||
AUTH_SECRET_KEY: "{{ ROMM_AUTH_SECRET_KEY }}"
|
ROMM_AUTH_SECRET_KEY: "{{ ROMM_AUTH_SECRET_KEY }}"
|
||||||
IGDB_CLIENT_ID: "{{ ROMM_IGDB_CLIENT_ID }}"
|
IGDB_CLIENT_ID: "{{ ROMM_IGDB_CLIENT_ID }}"
|
||||||
IGDB_CLIENT_SECRET: "{{ ROMM_IGDB_CLIENT_SECRET }}"
|
IGDB_CLIENT_SECRET: "{{ ROMM_IGDB_CLIENT_SECRET }}"
|
||||||
OIDC_ENABLED: "{{ ROMM_OIDC_ENABLED }}"
|
OIDC_ENABLED: "{{ ROMM_OIDC_ENABLED }}"
|
||||||
OIDC_PROVIDER: "{{ ROMM_OIDC_PROVIDER }}"
|
OIDC_PROVIDER: "{{ ROMM_OIDC_PROVIDER }}"
|
||||||
OIDC_CLIENT_ID: "{{ ROMM_OIDC_CLIENT_ID }}"
|
OIDC_CLIENT_ID: "{{ ROMM_OIDC_CLIENT_ID }}"
|
||||||
OIDC_CLIENT_SECRET: "{{ ROMM_OIDC_CLIENT_SECRET }}"
|
OIDC_CLIENT_SECRET: "{{ ROMM_OIDC_CLIENT_SECRET }}"
|
||||||
OIDC_REDIRECT_URL: "{{ ROMM_OIDC_REDIRECT_URL }}"
|
OIDC_REDIRECT_URI: "{{ ROMM_OIDC_REDIRECT_URL }}"
|
||||||
SERVER_APPLICATION_URL: "{{ ROMM_SERVER_APPLICATION_URL }}"
|
OIDC_SERVER_APPLICATION_URL: "{{ ROMM_SERVER_APPLICATION_URL }}"
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.emu.rule: Host(`emu.fntz.net`)
|
traefik.http.routers.emu.rule: Host(`emu.fntz.net`)
|
||||||
|
|||||||
26
tasks/runner.yml
Normal file
26
tasks/runner.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
- name: Create Gitea Runner Configuration
|
||||||
|
template:
|
||||||
|
src: templates/runner/gitea-runner.yaml.j2
|
||||||
|
dest: "{{ data_dir }}/gitea/config.yaml"
|
||||||
|
|
||||||
|
- name: Deploy Gitea Runner
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: gitea-runner
|
||||||
|
directories:
|
||||||
|
- "{{ data_dir }}/gitea"
|
||||||
|
image:
|
||||||
|
name: docker.io/gitea/act_runner
|
||||||
|
tag: nightly
|
||||||
|
network_mode: host
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/gitea/config.yaml:/config.yaml"
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
env:
|
||||||
|
CONFIG_FILE: "/config.yaml"
|
||||||
|
GITEA_INSTANCE_URL: "{{ GITEA_INSTANCE_URL }}"
|
||||||
|
GITEA_RUNNER_REGISTRATION_TOKEN: "{{ GITEA_RUNNER_REGISTRATION_TOKEN }}"
|
||||||
|
GITEA_RUNNER_NAME: "runner"
|
||||||
|
GITEA_RUNNER_LABELS: "runner:host"
|
||||||
62
tasks/scrobbling.yml
Normal file
62
tasks/scrobbling.yml
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
---
|
||||||
|
- name: Create folder structure
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- "{{ data_dir }}/scrobbling"
|
||||||
|
- "{{ data_dir }}/scrobbling/koito"
|
||||||
|
- "{{ data_dir }}/scrobbling/multi-scrobbler"
|
||||||
|
|
||||||
|
- name: Create Scrobbler Configuration
|
||||||
|
template:
|
||||||
|
src: templates/scrobbling/lastfm.json.j2
|
||||||
|
dest: "{{ data_dir }}/scrobbling/multi-scrobbler/lastfm.json"
|
||||||
|
|
||||||
|
- name: Deploy Kotio
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: scrobbling_kotio
|
||||||
|
network_name: scrobbling
|
||||||
|
networks:
|
||||||
|
- name: scrobbling
|
||||||
|
- name: homelab
|
||||||
|
image:
|
||||||
|
name: gabehf/koito
|
||||||
|
tag: latest
|
||||||
|
env:
|
||||||
|
KOITO_DATABASE_URL: "postgres://koito:{{ KOTIO_DB_PASS }}@172.16.0.44:5432/koito"
|
||||||
|
KOITO_ALLOWED_HOSTS: koito.fntz.net
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/scrobbling/koito:/etc/koito"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.kotio.rule: Host(`koito.fntz.net`)
|
||||||
|
traefik.http.routers.kotio.entrypoints: webSecure
|
||||||
|
traefik.http.routers.kotio.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.kotio.loadbalancer.server.port: "4110"
|
||||||
|
|
||||||
|
- name: Deploy Multi-Scrobbler
|
||||||
|
include_role:
|
||||||
|
name: docker
|
||||||
|
vars:
|
||||||
|
name: scrobbling_multi-scrobbler
|
||||||
|
image:
|
||||||
|
name: ghcr.io/foxxmd/multi-scrobbler
|
||||||
|
tag: latest
|
||||||
|
networks:
|
||||||
|
- name: scrobbling
|
||||||
|
- name: homelab
|
||||||
|
volumes:
|
||||||
|
- "{{ data_dir }}/scrobbling/multi-scrobbler:/config"
|
||||||
|
env:
|
||||||
|
KOITO_TOKEN: "{{ SCROBBLER_KOITO_TOKEN }}"
|
||||||
|
KOITO_USER: "{{ SCROBBLER_KOITO_USER }}"
|
||||||
|
KOITO_URL: "{{ SCROBBLER_KOITO_URL }}"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.scrobbler.rule: Host(`scrobbler.fntz.net`)
|
||||||
|
traefik.http.routers.scrobbler.entrypoints: webSecure
|
||||||
|
traefik.http.routers.scrobbler.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.scrobbler.loadbalancer.server.port: "9078"
|
||||||
@@ -1,45 +1,26 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Radarr
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
name: servarr_radarr
|
||||||
- "{{ data_dir }}/servarr"
|
directories:
|
||||||
- "{{ data_dir }}/servarr/sonarr_config"
|
- "{{ data_dir }}/servarr"
|
||||||
- "{{ data_dir }}/servarr/radarr_config"
|
- "{{ data_dir }}/servarr/sonarr_config"
|
||||||
- "{{ data_dir }}/servarr/lidarr_config"
|
- "{{ data_dir }}/servarr/radarr_config"
|
||||||
|
- "{{ data_dir }}/servarr/lidarr_config"
|
||||||
- name: Pull latest Radarr Docker Image
|
image:
|
||||||
docker_image:
|
name: lscr.io/linuxserver/radarr
|
||||||
name: lscr.io/linuxserver/radarr
|
tag: latest
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
- name: Pull latest Sonarr Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: lscr.io/linuxserver/sonarr
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
- name: Pull latest Lidarr Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: lscr.io/linuxserver/lidarr
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Deploy Radarr Container
|
|
||||||
docker_container:
|
|
||||||
name: radarr
|
|
||||||
image: lscr.io/linuxserver/radarr:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/servarr/radarr_config:/config"
|
- "{{ data_dir }}/servarr/radarr_config:/config"
|
||||||
- "{{ SERVARR_MEDIA_PATH }}:/media"
|
- "{{ media_path }}:/media"
|
||||||
- "{{ NZBGET_DOWNLOADS_PATH }}:/downloads"
|
- "{{ media_path }}/Downloads:/downloads"
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
env:
|
env:
|
||||||
PUID: "{{ PUID }}"
|
PUID: "1000"
|
||||||
PGID: "{{ PGID }}"
|
PGID: "1000"
|
||||||
TZ: "{{ TZ }}"
|
TZ: "{{ TZ }}"
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
@@ -48,19 +29,21 @@
|
|||||||
traefik.http.routers.radarr.tls.certresolver: letsencrypt
|
traefik.http.routers.radarr.tls.certresolver: letsencrypt
|
||||||
traefik.http.services.radarr.loadbalancer.server.port: "7878"
|
traefik.http.services.radarr.loadbalancer.server.port: "7878"
|
||||||
|
|
||||||
- name: Deploy Sonarr Container
|
- name: Deploy Sonarr
|
||||||
docker_container:
|
include_role:
|
||||||
name: sonarr
|
name: docker
|
||||||
image: lscr.io/linuxserver/sonarr:latest
|
vars:
|
||||||
restart_policy: unless-stopped
|
name: servarr_sonarr
|
||||||
recreate: true
|
image:
|
||||||
|
name: lscr.io/linuxserver/sonarr
|
||||||
|
tag: latest
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ data_dir }}/servarr/sonarr_config:/config"
|
- "{{ data_dir }}/servarr/sonarr_config:/config"
|
||||||
- "{{ SERVARR_MEDIA_PATH }}:/data"
|
- "{{ media_path }}:/data"
|
||||||
- "{{ NZBGET_DOWNLOADS_PATH }}:/downloads"
|
- "{{ media_path }}/Downloads:/downloads"
|
||||||
env:
|
env:
|
||||||
PUID: "{{ PUID }}"
|
PUID: "1000"
|
||||||
PGID: "{{ PGID }}"
|
PGID: "1000"
|
||||||
TZ: "{{ TZ }}"
|
TZ: "{{ TZ }}"
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
@@ -70,26 +53,3 @@
|
|||||||
traefik.http.routers.sonarr.entrypoints: webSecure
|
traefik.http.routers.sonarr.entrypoints: webSecure
|
||||||
traefik.http.routers.sonarr.tls.certresolver: letsencrypt
|
traefik.http.routers.sonarr.tls.certresolver: letsencrypt
|
||||||
traefik.http.services.sonarr.loadbalancer.server.port: "8989"
|
traefik.http.services.sonarr.loadbalancer.server.port: "8989"
|
||||||
|
|
||||||
- name: Deploy Lidarr Container
|
|
||||||
docker_container:
|
|
||||||
name: lidarr
|
|
||||||
image: lscr.io/linuxserver/lidarr:latest
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
recreate: true
|
|
||||||
env:
|
|
||||||
PUID: "{{ PUID }}"
|
|
||||||
PGID: "{{ PGID }}"
|
|
||||||
TZ: "{{ TZ }}"
|
|
||||||
volumes:
|
|
||||||
- "{{ data_dir }}/servarr/lidarr_config:/config"
|
|
||||||
- "{{ SERVARR_MEDIA_PATH }}:/media"
|
|
||||||
- "{{ NZBGET_DOWNLOADS_PATH }}:/downloads"
|
|
||||||
networks:
|
|
||||||
- name: homelab
|
|
||||||
labels:
|
|
||||||
traefik.enable: "true"
|
|
||||||
traefik.http.routers.lidarr.rule: Host(`lidarr.fntz.net`)
|
|
||||||
traefik.http.routers.lidarr.entrypoints: webSecure
|
|
||||||
traefik.http.routers.lidarr.tls.certresolver: letsencrypt
|
|
||||||
traefik.http.services.lidarr.loadbalancer.server.port: "8686"
|
|
||||||
|
|||||||
@@ -1,34 +1,20 @@
|
|||||||
---
|
---
|
||||||
- name: "Create file structure"
|
- name: Deploy Storage API
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/storage-api"
|
|
||||||
- "{{ data_dir }}/storage-api/app"
|
|
||||||
- "{{ data_dir }}/storage-api/files"
|
|
||||||
|
|
||||||
- name: "Clone latest Storage API"
|
|
||||||
git:
|
|
||||||
repo: git@git.alexav.gg:alex/storage-api.git
|
|
||||||
dest: "{{ data_dir }}/storage-api/app"
|
|
||||||
|
|
||||||
- name: "Build Storage API Docker Image"
|
|
||||||
docker_image:
|
|
||||||
name: storage-api
|
name: storage-api
|
||||||
tag: "latest"
|
directories:
|
||||||
|
- "{{ data_dir }}/storage-api"
|
||||||
|
- "{{ data_dir }}/storage-api/app"
|
||||||
|
- "{{ data_dir }}/storage-api/files"
|
||||||
|
image:
|
||||||
|
name: storage-api
|
||||||
|
tag: latest
|
||||||
build:
|
build:
|
||||||
path: "{{ data_dir }}/storage-api/app"
|
git:
|
||||||
dockerfile: Dockerfile
|
repo: git@git.alexav.gg:alex/storage-api.git
|
||||||
source: build
|
dest: "{{ data_dir }}/storage-api/app"
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: Deploy Storage API Container
|
|
||||||
docker_container:
|
|
||||||
name: storage_api
|
|
||||||
image: storage-api:latest
|
|
||||||
recreate: true
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
networks:
|
networks:
|
||||||
- name: "{{ docker_network_name }}"
|
- name: "{{ docker_network_name }}"
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,23 +1,14 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Tautulli
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/tautulli"
|
|
||||||
|
|
||||||
- name: Pull latest Tautulli Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: ghcr.io/tautulli/tautulli
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Tautulli Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: tautulli
|
name: tautulli
|
||||||
image: ghcr.io/tautulli/tautulli
|
directories:
|
||||||
restart_policy: unless-stopped
|
- "{{ data_dir }}/tautulli"
|
||||||
recreate: true
|
image:
|
||||||
|
name: ghcr.io/tautulli/tautulli
|
||||||
|
tag: latest
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,35 +1,34 @@
|
|||||||
---
|
---
|
||||||
- name: Pull latest Tinyauth Docker Image
|
- name: Deploy Tinyauth
|
||||||
docker_image:
|
include_role:
|
||||||
name: ghcr.io/steveiliop56/tinyauth
|
name: docker
|
||||||
tag: v3
|
vars:
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Tinyauth Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: tinyauth
|
name: tinyauth
|
||||||
image: ghcr.io/steveiliop56/tinyauth:v3
|
image:
|
||||||
restart_policy: unless-stopped
|
name: ghcr.io/steveiliop56/tinyauth
|
||||||
recreate: true
|
tag: v4
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: "{{ docker_network_name }}"
|
||||||
|
volumes:
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
env:
|
env:
|
||||||
USERS: "{{ TINYAUTH_USERS }}"
|
USERS: "{{ TINYAUTH_USERS }}"
|
||||||
SECRET: "{{ TINYAUTH_SECRET }}"
|
SECRET: "{{ TINYAUTH_SECRET }}"
|
||||||
APP_URL: "{{ TINYAUTH_APP_URL }}"
|
APP_URL: "{{ TINYAUTH_APP_URL }}"
|
||||||
GENERIC_CLIENT_ID: "{{ TINYAUTH_GENERIC_CLIENT_ID }}"
|
PROVIDERS_POCKETID_CLIENT_ID: "{{ TINYAUTH_GENERIC_CLIENT_ID }}"
|
||||||
GENERIC_CLIENT_SECRET: "{{ TINYAUTH_GENERIC_CLIENT_SECRET }}"
|
PROVIDERS_POCKETID_CLIENT_SECRET: "{{ TINYAUTH_GENERIC_CLIENT_SECRET }}"
|
||||||
GENERIC_AUTH_URL: "{{ TINYAUTH_GENERIC_AUTH_URL }}"
|
PROVIDERS_POCKETID_AUTH_URL: "{{ TINYAUTH_GENERIC_AUTH_URL }}"
|
||||||
GENERIC_TOKEN_URL: "{{ TINYAUTH_GENERIC_TOKEN_URL }}"
|
PROVIDERS_POCKETID_TOKEN_URL: "{{ TINYAUTH_GENERIC_TOKEN_URL }}"
|
||||||
GENERIC_USER_URL: "{{ TINYAUTH_GENERIC_USER_URL }}"
|
PROVIDERS_POCKETID_USER_INFO_URL: "{{ TINYAUTH_GENERIC_USER_URL }}"
|
||||||
GENERIC_SCOPES: "{{ TINYAUTH_GENERIC_SCOPES }}"
|
PROVIDERS_POCKETID_SCOPES: "{{ TINYAUTH_GENERIC_SCOPES }}"
|
||||||
GENERIC_NAME: "{{ TINYAUTH_GENERIC_NAME }}"
|
PROVIDERS_POCKETID_NAME: "{{ TINYAUTH_GENERIC_NAME }}"
|
||||||
|
PROVIDERS_POCKETID_REDIRECT_URL: "{{ TINYAUTH_REDIRECT_URL }}"
|
||||||
OAUTH_WHITELIST: "{{ TINYAUTH_OAUTH_WHITELIST }}"
|
OAUTH_WHITELIST: "{{ TINYAUTH_OAUTH_WHITELIST }}"
|
||||||
APP_TITLE: "{{ TINYAUTH_APP_TITLE }}"
|
APP_TITLE: "{{ TINYAUTH_APP_TITLE }}"
|
||||||
BACKGROUND_IMAGE: "{{ TINYAUTH_BACKGROUND_IMAGE }}"
|
BACKGROUND_IMAGE: "{{ TINYAUTH_BACKGROUND_IMAGE }}"
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: "true"
|
traefik.enable: "true"
|
||||||
traefik.http.routers.tinyauth.rule: Host(`auth.fntz.net`)
|
traefik.http.routers.tinyauth.rule: Host(`{{ TINYAUTH_HOSTNAME }}`)
|
||||||
traefik.http.routers.tinyauth.entrypoints: webSecure
|
traefik.http.routers.tinyauth.entrypoints: webSecure
|
||||||
traefik.http.routers.tinyauth.tls.certresolver: letsencrypt
|
traefik.http.routers.tinyauth.tls.certresolver: letsencrypt
|
||||||
traefik.http.middlewares.tinyauth.forwardauth.address: http://tinyauth:3000/api/auth/traefik
|
traefik.http.middlewares.tinyauth.forwardauth.address: http://tinyauth:3000/api/auth/traefik
|
||||||
|
|||||||
@@ -1,23 +1,14 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Uptime Kuma
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/uptime-kuma"
|
|
||||||
|
|
||||||
- name: Pull latest Uptime Kuma Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: louislam/uptime-kuma
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Uptime Kuma Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: uptime-kuma
|
name: uptime-kuma
|
||||||
image: louislam/uptime-kuma
|
directories:
|
||||||
restart_policy: unless-stopped
|
- "{{ data_dir }}/uptime-kuma"
|
||||||
recreate: true
|
image:
|
||||||
|
name: louislam/uptime-kuma
|
||||||
|
tag: latest
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -1,23 +1,14 @@
|
|||||||
---
|
---
|
||||||
- name: Create folder structure
|
- name: Deploy Vaultwarden
|
||||||
file:
|
include_role:
|
||||||
path: "{{ item }}"
|
name: docker
|
||||||
state: directory
|
vars:
|
||||||
with_items:
|
|
||||||
- "{{ data_dir }}/vaultwarden"
|
|
||||||
|
|
||||||
- name: Pull latest Vaultwarden Docker Image
|
|
||||||
docker_image:
|
|
||||||
name: vaultwarden/server
|
|
||||||
tag: latest
|
|
||||||
source: pull
|
|
||||||
|
|
||||||
- name: Create Vaultwarden Docker Container
|
|
||||||
docker_container:
|
|
||||||
name: vaultwarden
|
name: vaultwarden
|
||||||
image: vaultwarden/server:latest
|
directories:
|
||||||
restart_policy: unless-stopped
|
- "{{ data_dir }}/vaultwarden"
|
||||||
recreate: true
|
image:
|
||||||
|
name: vaultwarden/server
|
||||||
|
tag: latest
|
||||||
networks:
|
networks:
|
||||||
- name: homelab
|
- name: homelab
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
51
tasks/wings.yml
Normal file
51
tasks/wings.yml
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
---
|
||||||
|
- name: Create folder structure
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- "{{ data_dir }}/wings"
|
||||||
|
- "{{ data_dir }}/wings/lib"
|
||||||
|
|
||||||
|
- name: Pull latest Wings Docker image
|
||||||
|
docker_image:
|
||||||
|
name: ghcr.io/pterodactyl/wings
|
||||||
|
tag: latest
|
||||||
|
source: pull
|
||||||
|
|
||||||
|
- name: Create Wings Network
|
||||||
|
docker_network:
|
||||||
|
name: wings
|
||||||
|
driver: bridge
|
||||||
|
ipam_config:
|
||||||
|
- subnet: "172.55.0.0/16"
|
||||||
|
|
||||||
|
- name: Create Wings Docker Container
|
||||||
|
docker_container:
|
||||||
|
name: pterodactyl_wings
|
||||||
|
image: ghcr.io/pterodactyl/wings:latest
|
||||||
|
recreate: true
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
networks:
|
||||||
|
- name: wings
|
||||||
|
- name: "{{ docker_network_name }}"
|
||||||
|
volumes:
|
||||||
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
- "/etc/pterodactyl:/etc/pterodactyl"
|
||||||
|
- "{{ data_dir }}/wings/lib:{{ data_dir }}/wings/lib"
|
||||||
|
- "{{ WINGS_CONTAINER_DIR }}:{{ WINGS_CONTAINER_DIR }}"
|
||||||
|
- "/var/log/pterodactyl:/var/log/pterodactyl"
|
||||||
|
- "/tmp/pterodactyl:/tmp/pterodactyl"
|
||||||
|
env:
|
||||||
|
TZ: "{{ TZ }}"
|
||||||
|
WINGS_UID: "988"
|
||||||
|
WINGS_GID: "988"
|
||||||
|
WINGS_USERNAME: pterodactyl
|
||||||
|
published_ports:
|
||||||
|
- "2022:2022"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.wings.rule: Host(`{{ WINGS_URL }}`)
|
||||||
|
traefik.http.routers.wings.entrypoints: webSecure
|
||||||
|
traefik.http.routers.wings.tls.certresolver: letsencrypt
|
||||||
|
traefik.http.services.wings.loadbalancer.server.port: "8080"
|
||||||
29
templates/monitoring/loki.yaml.j2
Normal file
29
templates/monitoring/loki.yaml.j2
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
auth_enabled: false
|
||||||
|
|
||||||
|
server:
|
||||||
|
http_listen_port: 3100
|
||||||
|
|
||||||
|
common:
|
||||||
|
path_prefix: /loki
|
||||||
|
storage:
|
||||||
|
filesystem:
|
||||||
|
chunks_directory: /loki/chunks
|
||||||
|
rules_directory: /loki/rules
|
||||||
|
replication_factor: 1
|
||||||
|
ring:
|
||||||
|
kvstore:
|
||||||
|
store: inmemory
|
||||||
|
|
||||||
|
schema_config:
|
||||||
|
configs:
|
||||||
|
- from: 2020-10-24
|
||||||
|
store: tsdb
|
||||||
|
object_store: filesystem
|
||||||
|
schema: v13
|
||||||
|
index:
|
||||||
|
prefix: index_
|
||||||
|
period: 24h
|
||||||
|
|
||||||
|
storage_config:
|
||||||
|
filesystem:
|
||||||
|
directory: /loki/chunks
|
||||||
14
templates/monitoring/prometheus.yml.j2
Normal file
14
templates/monitoring/prometheus.yml.j2
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
global:
|
||||||
|
scrape_interval: 15s
|
||||||
|
evaluation_interval: 15s
|
||||||
|
|
||||||
|
scrape_configs:
|
||||||
|
- job_name: "prometheus"
|
||||||
|
static_configs:
|
||||||
|
- targets: ["monitoring_prometheus:9090"]
|
||||||
|
- job_name: "node-exporter"
|
||||||
|
static_configs:
|
||||||
|
- targets: ["172.16.0.44:9100"]
|
||||||
|
- job_name: "cadvisor"
|
||||||
|
static_configs:
|
||||||
|
- targets: ["monitoring_cadvisor:8080"]
|
||||||
63
templates/monitoring/promtail.yaml.j2
Normal file
63
templates/monitoring/promtail.yaml.j2
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
server:
|
||||||
|
http_listen_port: 9080
|
||||||
|
|
||||||
|
positions:
|
||||||
|
filename: /tmp/positions.yaml
|
||||||
|
|
||||||
|
clients:
|
||||||
|
- url: http://monitoring_loki:3100/loki/api/v1/push
|
||||||
|
|
||||||
|
scrape_configs:
|
||||||
|
- job_name: docker
|
||||||
|
docker_sd_configs:
|
||||||
|
- host: unix:///var/run/docker.sock
|
||||||
|
refresh_interval: 5s
|
||||||
|
relabel_configs:
|
||||||
|
# Keep only running containers
|
||||||
|
- source_labels: ['__meta_docker_container_id']
|
||||||
|
target_label: container_id
|
||||||
|
|
||||||
|
# Container name (strips leading slash)
|
||||||
|
- source_labels: ['__meta_docker_container_name']
|
||||||
|
regex: '/(.+)'
|
||||||
|
target_label: container_name
|
||||||
|
|
||||||
|
# Compose project name
|
||||||
|
- source_labels: ['__meta_docker_container_label_com_docker_compose_project']
|
||||||
|
target_label: compose_project
|
||||||
|
|
||||||
|
# Compose service name
|
||||||
|
- source_labels: ['__meta_docker_container_label_com_docker_compose_service']
|
||||||
|
target_label: compose_service
|
||||||
|
|
||||||
|
# Image name
|
||||||
|
- source_labels: ['__meta_docker_container_image']
|
||||||
|
target_label: image
|
||||||
|
|
||||||
|
# Custom labels - grab any label starting with "logging."
|
||||||
|
# e.g. logging.env=production becomes env=production
|
||||||
|
- regex: '__meta_docker_container_label_logging_(.+)'
|
||||||
|
action: labelmap
|
||||||
|
replacement: '$1'
|
||||||
|
|
||||||
|
# Drop containers with logging=disabled label
|
||||||
|
- source_labels: ['__meta_docker_container_label_logging']
|
||||||
|
regex: 'disabled'
|
||||||
|
action: drop
|
||||||
|
|
||||||
|
pipeline_stages:
|
||||||
|
# Docker JSON log format parsing
|
||||||
|
- json:
|
||||||
|
expressions:
|
||||||
|
output: log
|
||||||
|
stream: stream
|
||||||
|
timestamp: time
|
||||||
|
|
||||||
|
# Use Docker's timestamp
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: RFC3339Nano
|
||||||
|
|
||||||
|
# Output just the log line
|
||||||
|
- output:
|
||||||
|
source: output
|
||||||
14
templates/pelican/Caddyfile
Normal file
14
templates/pelican/Caddyfile
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
admin off
|
||||||
|
servers {
|
||||||
|
trusted_proxies static private_ranges
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:80 {
|
||||||
|
root * /var/www/html/public
|
||||||
|
encode gzip
|
||||||
|
|
||||||
|
php_fastcgi 127.0.0.1:9000
|
||||||
|
file_server
|
||||||
|
}
|
||||||
23
templates/runner/gitea-runner.yaml.j2
Normal file
23
templates/runner/gitea-runner.yaml.j2
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
log:
|
||||||
|
level: info
|
||||||
|
|
||||||
|
runner:
|
||||||
|
file: .runner
|
||||||
|
capacity: 1
|
||||||
|
timeout: 3h
|
||||||
|
shutdown_timeout: 0s
|
||||||
|
insecure: false
|
||||||
|
fetch_timeout: 5s
|
||||||
|
fetch_interval: 2s
|
||||||
|
labels:
|
||||||
|
- "ubuntu-latest:docker://catthehacker/ubuntu:act-latest"
|
||||||
|
- "ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
|
||||||
|
- "ansible:docker://git.alexav.gg/alex/setup-ansible:latest"
|
||||||
|
|
||||||
|
container:
|
||||||
|
network: "host"
|
||||||
|
privileged: true
|
||||||
|
force_pull: true
|
||||||
|
force_rebuild: false
|
||||||
|
require_docker: false
|
||||||
|
docker_timeout: 0s
|
||||||
12
templates/scrobbling/lastfm.json.j2
Normal file
12
templates/scrobbling/lastfm.json.j2
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "lastFm",
|
||||||
|
"enable": true,
|
||||||
|
"configureAs": "source",
|
||||||
|
"data": {
|
||||||
|
"apiKey": "{{ SCROBBLER_LASTFM_TOKEN }}",
|
||||||
|
"secret": "{{ SCROBBLER_LASTFM_SECRET }}",
|
||||||
|
"redirectUri": "https://scrobbler.fntz.net/lastfm/callback"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user