jelly, caddy, other stuff

This commit is contained in:
Jef Roosens 2023-12-24 20:52:13 +01:00
parent 5ad30d3343
commit 592992f031
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
17 changed files with 150 additions and 45 deletions

20
roles/raid/tasks/main.yml Normal file
View file

@ -0,0 +1,20 @@
---
- name: Install BTRFS tools
apt:
name: btrfs-progs
state: present
- name: Create mountpoint
file:
path: /mnt/data1
state: directory
mode: '0755'
owner: debian
group: debian
- name: Mount RAID
mount:
path: /mnt/data1
src: "UUID={{ raid_uuid }}"
fstype: btrfs
state: mounted