Cloud VM: Add immich & prepare for Nextcloud memories (#9)
Some checks failed
Infrastructure / Check and run Ansbile playbooks (push) Failing after 2m50s
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user