You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
424 B
18 lines
424 B
3 years ago
|
---
|
||
|
- name: Make btrfs subvolume mount point.
|
||
|
file:
|
||
|
state: directory
|
||
3 years ago
|
path: "{{ root_mount + subvolume.mountpoint }}"
|
||
3 years ago
|
owner: root
|
||
|
group: root
|
||
|
mode: 0755
|
||
|
|
||
|
- name: Mount btrfs subvolume.
|
||
|
command: >
|
||
|
mount
|
||
|
-t btrfs
|
||
|
-o defaults,noatime,compress=zstd,subvol={{ subvolume.name }}
|
||
3 years ago
|
/dev/mapper/{{ disk_egbl_luks_name }}
|
||
|
{{ root_mount + subvolume.mountpoint }}
|
||
3 years ago
|
changed_when: true
|