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
485 B
18 lines
485 B
3 years ago
|
---
|
||
|
- name: Make btrfs subvolume mount point.
|
||
|
file:
|
||
|
state: directory
|
||
|
path: "{{ (partitioning_root_mount_point + subvolume.mountpoint) | quote }}"
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0755
|
||
|
|
||
|
- name: Mount btrfs subvolume.
|
||
|
command: >
|
||
|
mount
|
||
|
-t btrfs
|
||
|
-o defaults,noatime,compress=zstd,subvol={{ subvolume.name }}
|
||
|
{{ partitioning_priv_root_device_node }}
|
||
|
{{ (partitioning_root_mount_point + subvolume.mountpoint) | quote }}
|
||
|
changed_when: true
|