baikal: fix subvolumes

main
Jef Roosens 2024-02-18 09:10:01 +01:00
parent 35de046d69
commit 6cf07db3e3
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 6 additions and 6 deletions

View File

@ -1,15 +1,15 @@
---
- name: Ensure data directory is present
- name: Ensure data subvolume is present
community.general.btrfs_subvolume:
name: '/baikal'
- name: Ensure data directories are present
ansible.builtin.file:
path: '/mnt/data1/baikal'
path: '/mnt/data1/baikal/{{ item }}'
state: directory
mode: '0755'
owner: 'root'
group: 'root'
- name: Ensure data subvolumes are present
community.general.btrfs_subvolume:
name: '/baikal/{{ item }}'
loop:
- 'Specific'
- 'config'