Commit Graph

54 Commits

Author SHA1 Message Date
cyclane 22b5241751 Finance VM (#53)
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m3s
Finance manager service using Firefly III.

Reviewed-on: #53
2024-03-30 00:17:11 +00:00
cyclane 9f51ce02d6 Fix #50: Remove custom network *completely* from Infisical docker-compose (#52)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 3m14s
Reviewed-on: #52
2024-03-29 15:57:07 +00:00
cyclane 719640a98d Fix #50: Trigger all secrets playbooks (#51)
Infrastructure / Check and run Ansbile playbooks (push) Failing after 5m46s
Keep forgetting this :/

Reviewed-on: #51
2024-03-29 15:48:14 +00:00
cyclane 20b72f085f Secrets VM: v2 (#50)
Infrastructure / Check and run Ansbile playbooks (push) Failing after 4m34s
Closes #44. We'll do a manual migration for stability and simplicity.

Reviewed-on: #50
2024-03-29 15:24:57 +00:00
cyclane da90d463de Fix Infisical Gitea Actions (#43)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m6s
For some reason secrets are failing: https://git.koval.net/cyclane/kovalhome/actions/runs/193

Reviewed-on: #43
2024-03-01 00:37:04 +00:00
cyclane 68259cb3cf Upgrade Immich to 1.95 (#42)
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m4s
And again...

https://github.com/immich-app/immich/releases/tag/v1.95.0

Reviewed-on: #42
2024-02-29 22:53:28 +00:00
cyclane b9d0c5d55d Fix #36: Update samba file permissions in playbook (#40)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m50s
Reviewed-on: #40
2024-01-27 18:25:40 +00:00
cyclane 7eff8a43ef Fix #36: Fix mounts and trigger CI (#39)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m48s
We need to create each samba folder manually - do it with docker-compose I guess.

Reviewed-on: #39
2024-01-27 18:16:23 +00:00
cyclane 7916f12e73 Fix #36: Trigger all CI for samba (#38)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 7m48s
Reviewed-on: #38
2024-01-27 18:04:29 +00:00
cyclane aa78f334bd Fix #36: Samba VM - SRV NIC (#37)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m21s
Add SRV NIC back because Ansible uses it :/

Reviewed-on: #37
2024-01-27 17:54:59 +00:00
cyclane 47556c3a8c Samba VM (#36)
Infrastructure / Check and run Ansbile playbooks (push) Failing after 9m37s
Initialise new samba service. Currently will only be used for local network backups.

Reviewed-on: #36
2024-01-27 17:41:57 +00:00
cyclane 1a8fe73bf2 Fix #32: Format environment: properly. (#33)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m55s
Reviewed-on: #33
2024-01-07 00:03:40 +00:00
cyclane 3685590a58 Music VM: Set Navidrome to use LastFM for coverart before embedded images (#32)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m46s
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
cyclane 40410b2dff Fix #28: Do not use user: for metube and picard (#31)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m46s
Reviewed-on: #31
2024-01-06 18:31:05 +00:00
cyclane 5bfc02d3ae Fix #28: Need to become for permission changes (#30)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m37s
Reviewed-on: #30
2024-01-06 18:19:07 +00:00
cyclane 54cf382710 Fix #28: Set directory permissions (#29)
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
cyclane d4d5511b78 Music VM (#28)
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
cyclane f47ad0a125 Fix #25: Get value from Infisical result (#27)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m20s
Fixes #25 (again).

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

Reviewed-on: #26
2024-01-04 13:13:31 +00:00
cyclane 8529d56c44 Migrate Photos VM to read secrets from Infisical (#25)
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
cyclane a8b7b1df4a Fix Infisical SMTP settings (#24)
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
cyclane ed07a8ef71 Upgrade secrets VM CPU (#23)
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
cyclane 82fee4eb19 Secrets VM (#21)
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
cyclane 89c5e1ea36 Upgrade Immich to 1.91 (#18)
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
cyclane 6c8bab5748 Fix immich/0004 name
Infrastructure / Check and run Ansbile playbooks (push) Successful in 3m57s
2023-11-21 12:28:05 +00:00
cyclane 34fa3d2ba3 Upgrade Immich to 1.88 (#15)
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
cyclane 05a730ea52 Immich VM: Initial provision and decommission Immich from Cloud VM (#11)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 7m26s
Reviewed-on: #11
2023-09-28 12:44:24 +00:00
cyclane e39f826597 Cloud VM: Fix media deployment (#10)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 3m21s
Reviewed-on: #10
2023-09-27 21:31:32 +00:00
cyclane 47335e40f6 Cloud VM: Add immich & prepare for Nextcloud memories (#9)
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
cyclane 21c6b627a8 Cloud VM: mount data to /var/lib/docker (#8)
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
cyclane 68aff49459 Cloud VM (#7)
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
cyclane 13bb62fe61 always run on main, and README update
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m28s
2023-09-03 01:13:27 +01:00
cyclane daa116f741 provide proxmox user separately
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m28s
2023-09-03 01:01:05 +01:00
cyclane 68eb12d2fe readme
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m32s
2023-09-03 00:55:15 +01:00
cyclane 749071c695 remove test-vm-2 and sort files 2023-09-03 00:52:40 +01:00
cyclane 06c2228bd1 simplify test-vm-2 playbook
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m50s
2023-09-03 00:49:11 +01:00
cyclane 2fe1ffddc3 fix playbook
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m43s
2023-09-03 00:43:05 +01:00
cyclane ac4bd0a226 test some stuff
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m27s
2023-09-03 00:26:25 +01:00
cyclane 95661f27e5 debug
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m48s
2023-09-03 00:00:22 +01:00
cyclane e21dc3430f fix test-vm-2 playbook
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m43s
2023-09-02 23:02:39 +01:00
cyclane 31fc17bae8 fix changed playbooks glob
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m41s
2023-09-02 22:56:50 +01:00
cyclane 57e293cf89 run playbooks in workflow
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m38s
2023-09-02 22:43:46 +01:00
cyclane 8aa40d27de [deploy-all] testing stuff
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m35s
2023-09-02 22:40:18 +01:00
cyclane d46e074ab1 test-vm-2 time
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m32s
2023-09-02 21:42:21 +01:00
cyclane 86329880e7 remove check on job
Infrastructure / Check and run Ansbile playbooks (push) Failing after 1m30s
2023-09-02 21:36:14 +01:00
cyclane f7be5be077 improve workflow
Infrastructure / Check and run Ansbile playbooks (push) Has been skipped
2023-09-02 21:35:37 +01:00
cyclane ab3d2b7ccb remove test-vm
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
cyclane e9087b5a27 [deploy-all] secrets
Infrastructure / Check infrastructure definitions (push) Has been skipped
Infrastructure / Deploy modified infrastructure (push) Successful in 1m40s
Infrastructure / Deploy all infrastructure (push) Failing after 2m7s
2023-09-02 20:18:21 +01:00
cyclane ef43ef29c8 fix ci
Infrastructure / Check infrastructure definitions (push) Has been skipped
Infrastructure / Deploy all infrastructure (push) Has been skipped
Infrastructure / Deploy modified infrastructure (push) Successful in 2m33s
2023-09-02 20:11:44 +01:00
cyclane bf46e528f8 [deploy-all] improve workflow
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