Commit Graph

32 Commits

Author SHA1 Message Date
Gleb Koval ce7d44af5e
Fix #32: Format `environment:` properly.
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 2m17s Details
2024-01-07 00:03:19 +00:00
Gleb Koval 3685590a58 Music VM: Set Navidrome to use LastFM for coverart before embedded images (#32)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m46s Details
Default is embedded before LastFM, but since we're downloading from YouTube embedded always exists, and is often not great. So use LastFM before embedded.

Reviewed-on: #32
2024-01-06 23:54:55 +00:00
Gleb Koval 40410b2dff Fix #28: Do not use `user:` for metube and picard (#31)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m46s Details
Reviewed-on: #31
2024-01-06 18:31:05 +00:00
Gleb Koval 5bfc02d3ae Fix #28: Need to become for permission changes (#30)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m37s Details
Reviewed-on: #30
2024-01-06 18:19:07 +00:00
Gleb Koval 54cf382710 Fix #28: Set directory permissions (#29)
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m23s Details
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
Gleb Koval d4d5511b78 Music VM (#28)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 8m20s Details
Provision a VM with Navidrome and some tools for downloading stuff from YouTube.

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

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

Reviewed-on: #26
2024-01-04 13:13:31 +00:00
Gleb Koval 8529d56c44 Migrate Photos VM to read secrets from Infisical (#25)
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m3s Details
#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
Gleb Koval a8b7b1df4a Fix Infisical SMTP settings (#24)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m4s Details
Add SMTP_FROM_ADDRESS to infisical

Reviewed-on: #24
2024-01-04 12:50:41 +00:00
Gleb Koval ed07a8ef71 Upgrade secrets VM CPU (#23)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m13s Details
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: #23
2024-01-04 11:58:27 +00:00
Gleb Koval 82fee4eb19 Secrets VM (#21)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 5m29s Details
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
Gleb Koval 89c5e1ea36 Upgrade Immich to 1.91 (#18)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 4m31s Details
Yet again Immich is introducing breaking changes.

Reviewed-on: #18
2023-12-16 22:57:15 +00:00
Gleb Koval 6c8bab5748
Fix immich/0004 name
Infrastructure / Check and run Ansbile playbooks (push) Successful in 3m57s Details
2023-11-21 12:28:05 +00:00
Gleb Koval 34fa3d2ba3 Upgrade Immich to 1.88 (#15)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m27s Details
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
Gleb Koval 05a730ea52 Immich VM: Initial provision and decommission Immich from Cloud VM (#11)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 7m26s Details
Reviewed-on: #11
2023-09-28 12:44:24 +00:00
Gleb Koval e39f826597 Cloud VM: Fix media deployment (#10)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 3m21s Details
Reviewed-on: #10
2023-09-27 21:31:32 +00:00
Gleb Koval 47335e40f6 Cloud VM: Add immich & prepare for Nextcloud memories (#9)
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m50s Details
We want to test out what is better - Immich or Nextcloud memories.

Reviewed-on: #9
2023-09-27 21:18:49 +00:00
Gleb Koval 21c6b627a8 Cloud VM: mount data to /var/lib/docker (#8)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m31s Details
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
Gleb Koval 68aff49459 Cloud VM (#7)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 6m42s Details
- Nextcloud & potentially other "cloud" stuff VM

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