baikal: fix subvolumes
parent
35de046d69
commit
6cf07db3e3
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue