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
This commit is contained in:
2023-09-27 21:18:49 +00:00
parent 21c6b627a8
commit 47335e40f6
5 changed files with 52 additions and 18 deletions

View File

@@ -40,3 +40,25 @@
opts: rw,errors=remount-ro,x-systemd.growfs
state: mounted
become: true
- name: Create media partition
community.general.parted:
device: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:2
label: gpt
name: media
number: 1
state: present
become: true
- name: Create media filesystem
community.general.filesystem:
dev: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:2-part1
fstype: ext4
become: true
- name: Mount media partition
ansible.posix.mount:
src: /dev/disk/by-path/pci-0000:00:05.0-scsi-0:0:0:2-part1
path: /mnt/media
fstype: ext4
opts: rw,errors=remount-ro,x-systemd.growfs
state: mounted
become: true