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.
17 lines
424 B
17 lines
424 B
---
|
|
- name: Make btrfs subvolume mount point.
|
|
file:
|
|
state: directory
|
|
path: "{{ root_mount + subvolume.mountpoint }}"
|
|
owner: root
|
|
group: root
|
|
mode: 0755
|
|
|
|
- name: Mount btrfs subvolume.
|
|
command: >
|
|
mount
|
|
-t btrfs
|
|
-o defaults,noatime,compress=zstd,subvol={{ subvolume.name }}
|
|
/dev/mapper/{{ disk_egbl_luks_name }}
|
|
{{ root_mount + subvolume.mountpoint }}
|
|
changed_when: true
|
|
|