29 Commits

Author SHA1 Message Date
5bfc02d3ae Fix #28: Need to become for permission changes (#30)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m37s
Reviewed-on: #30
2024-01-06 18:19:07 +00:00
54cf382710 Fix #28: Set directory permissions (#29)
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m23s
Since we are using `user:` in docker-compose, we need to set the directory permissions so that everything doesn't crash immediately.

Reviewed-on: #29
2024-01-06 18:14:56 +00:00
d4d5511b78 Music VM (#28)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 8m20s
Provision a VM with Navidrome and some tools for downloading stuff from YouTube.

Reviewed-on: #28
2024-01-06 17:36:06 +00:00
f47ad0a125 Fix #25: Get value from Infisical result (#27)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m20s
Fixes #25 (again).

Reviewed-on: #27
2024-01-04 16:03:11 +00:00
773b73f579 Fix #25: Use correct lookup name (#26)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m11s
Fixes #25

Reviewed-on: #26
2024-01-04 13:13:31 +00:00
8529d56c44 Migrate Photos VM to read secrets from Infisical (#25)
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m3s
#21 provisioned an Infisical service (https://secrets.koval.net/). We can use this instead of the hacky solution that can explode.

Contributes to and closes #16.

Reviewed-on: #25
2024-01-04 13:09:16 +00:00
a8b7b1df4a Fix Infisical SMTP settings (#24)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m4s
Add SMTP_FROM_ADDRESS to infisical

Reviewed-on: #24
2024-01-04 12:50:41 +00:00
ed07a8ef71 Upgrade secrets VM CPU (#23)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m13s
Mongo requires AVX https://jira.mongodb.org/browse/SERVER-54407.

Otherwise logs:
```
infisical-mongo-1    | WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!
infisical-mongo-1    |   see https://jira.mongodb.org/browse/SERVER-54407
infisical-mongo-1    |   see also https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2
infisical-mongo-1    |   see also https://github.com/docker-library/mongo/issues/485#issuecomment-891991814
infisical-mongo-1    |
infisical-mongo-1    | /usr/local/bin/docker-entrypoint.sh: line 416:    26 Illegal instruction     "${mongodHackedArgs[@]}" --fork
```

Reviewed-on: https://git.koval.net/cyclane/kovalhome/pulls/23
2024-01-04 11:58:27 +00:00
82fee4eb19 Secrets VM (#21)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 5m29s
Setup Infiscal according to https://infisical.com/docs/self-hosting/deployment-options/docker-compose .

Contributes to #16.

Reviewed-on: #21
2024-01-04 11:22:21 +00:00
89c5e1ea36 Upgrade Immich to 1.91 (#18)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 4m31s
Yet again Immich is introducing breaking changes.

Reviewed-on: #18
2023-12-16 22:57:15 +00:00
6c8bab5748
Fix immich/0004 name
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 3m57s
2023-11-21 12:28:05 +00:00
34fa3d2ba3 Upgrade Immich to 1.88 (#15)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m27s
Immich 1.87 → 1.88 [has breaking changes](https://github.com/immich-app/immich/discussions/5086), so we need an Ansible migration.

Reviewed-on: #15
2023-11-21 11:34:40 +00:00
05a730ea52 Immich VM: Initial provision and decommission Immich from Cloud VM (#11)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 7m26s
Reviewed-on: #11
2023-09-28 12:44:24 +00:00
e39f826597 Cloud VM: Fix media deployment (#10)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 3m21s
Reviewed-on: #10
2023-09-27 21:31:32 +00:00
47335e40f6 Cloud VM: Add immich & prepare for Nextcloud memories (#9)
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m50s
We want to test out what is better - Immich or Nextcloud memories.

Reviewed-on: #9
2023-09-27 21:18:49 +00:00
21c6b627a8 Cloud VM: mount data to /var/lib/docker (#8)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m31s
Since Nextcloud AIO manages itself and uses docker volumes, the easiest way to persisty all data in a separate disk is to just mount it to `/var/lib/docker`. This is still an easier long-term solution than managing the entire stack manually - we can always migrate (relatively) easily in the future anyway.

Reviewed-on: #8
2023-09-26 23:24:07 +00:00
68aff49459 Cloud VM (#7)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 6m42s
- Nextcloud & potentially other "cloud" stuff VM

Reviewed-on: #7
2023-09-26 19:50:11 +00:00
749071c695
remove test-vm-2 and sort files 2023-09-03 00:52:40 +01:00
06c2228bd1
simplify test-vm-2 playbook
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m50s
2023-09-03 00:49:11 +01:00
2fe1ffddc3
fix playbook
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m43s
2023-09-03 00:43:05 +01:00
ac4bd0a226
test some stuff
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m27s
2023-09-03 00:26:25 +01:00
95661f27e5
debug
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m48s
2023-09-03 00:00:22 +01:00
e21dc3430f
fix test-vm-2 playbook
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m43s
2023-09-02 23:02:39 +01:00
31fc17bae8
fix changed playbooks glob
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m41s
2023-09-02 22:56:50 +01:00
57e293cf89
run playbooks in workflow
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m38s
2023-09-02 22:43:46 +01:00
d46e074ab1
test-vm-2 time
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m32s
2023-09-02 21:42:21 +01:00
ab3d2b7ccb
remove test-vm
All checks were successful
Infrastructure / Check infrastructure definitions (push) Has been skipped
Infrastructure / Deploy all infrastructure (push) Has been skipped
Infrastructure / Deploy modified infrastructure (push) Successful in 1m31s
2023-09-02 20:21:51 +01:00
bf46e528f8
[deploy-all] improve workflow
Some checks failed
Infrastructure / Check infrastructure definitions (push) Has been skipped
Infrastructure / Deploy modified infrastructure (push) Failing after 1m34s
Infrastructure / Deploy all infrastructure (push) Successful in 1m27s
2023-09-02 19:12:34 +01:00
7db11c6506 infra-setup (#2)
Some checks failed
Infrastructure / Check infrastructure definitions (push) Successful in 1m33s
Infrastructure / Deploy modified infrastructure (push) Failing after 1m36s
Reviewed-on: #2
2023-09-02 17:54:03 +00:00