66 Commits

Author SHA1 Message Date
ef780275e7
Infisical no longer needs pinning
Some checks failed
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 3m30s
2024-03-29 16:24:22 +00:00
87df3eb334
Merge branch 'main' into cleanup-playbooks 2024-03-29 16:23:17 +00:00
9f51ce02d6 Fix #50: Remove custom network *completely* from Infisical docker-compose (#52)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 3m14s
Reviewed-on: #52
2024-03-29 15:57:07 +00:00
719640a98d Fix #50: Trigger all secrets playbooks (#51)
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 5m46s
Keep forgetting this :/

Reviewed-on: #51
2024-03-29 15:48:14 +00:00
20b72f085f Secrets VM: v2 (#50)
Some checks failed
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
da90d463de Fix Infisical Gitea Actions (#43)
All checks were successful
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
68259cb3cf Upgrade Immich to 1.95 (#42)
Some checks failed
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
202abc79e3
Use requirements.yml for galaxy
Some checks failed
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 2m57s
2024-01-30 17:50:13 +00:00
8ab4968371
Remove ansible-lint from requirements
Some checks failed
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 3m6s
2024-01-30 17:32:13 +00:00
5ac073fc11
use ansible-lint action
Some checks failed
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 3m34s
2024-01-30 17:31:29 +00:00
2834642cb7
Use strict linting
All checks were successful
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 2m1s
2024-01-30 13:01:28 +00:00
594c97f4dc
Add ansible-lint dependancy
All checks were successful
Infrastructure / Check and run Ansbile playbooks (pull_request) Successful in 2m8s
2024-01-30 12:46:27 +00:00
9689da7d11
Add ansible-lint to github actions
Some checks failed
Infrastructure / Check and run Ansbile playbooks (pull_request) Failing after 1m36s
2024-01-30 12:42:41 +00:00
e1375aeb72
ansible-lint 2024-01-30 12:40:46 +00:00
2aa297e901
docker_compose_v2 ansible (instead of shell) 2024-01-30 12:37:37 +00:00
1a0114fa34
nextcloud aio:
- remove immich decommision (it's fine(tm))
- use ansible to create container, instead of bash script
2024-01-29 22:42:27 +00:00
e807abb376
Fix name of install docker playbooks 2024-01-29 22:41:33 +00:00
334276e654
proxmox playbooks
- use handler for initial boot & wait
2024-01-29 22:28:02 +00:00
b9d0c5d55d Fix #36: Update samba file permissions in playbook (#40)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m50s
Reviewed-on: #40
2024-01-27 18:25:40 +00:00
7eff8a43ef Fix #36: Fix mounts and trigger CI (#39)
All checks were successful
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
7916f12e73 Fix #36: Trigger all CI for samba (#38)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 7m48s
Reviewed-on: #38
2024-01-27 18:04:29 +00:00
aa78f334bd Fix #36: Samba VM - SRV NIC (#37)
All checks were successful
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
47556c3a8c Samba VM (#36)
Some checks failed
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
1a8fe73bf2 Fix #32: Format environment: properly. (#33)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m55s
Reviewed-on: #33
2024-01-07 00:03:40 +00:00
3685590a58 Music VM: Set Navidrome to use LastFM for coverart before embedded images (#32)
All checks were successful
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
40410b2dff Fix #28: Do not use user: for metube and picard (#31)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 2m46s
Reviewed-on: #31
2024-01-06 18:31:05 +00:00
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
13bb62fe61
always run on main, and README update
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m28s
2023-09-03 01:13:27 +01:00
daa116f741
provide proxmox user separately
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m28s
2023-09-03 01:01:05 +01:00
68eb12d2fe
readme
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m32s
2023-09-03 00:55:15 +01: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