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.
 
 
archlinux-ansible/roles/disk/egb/partitioning/tasks/mount_btrfs-subvolume.yml

17 lines
418 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 }}
{{ disk_egb_root_device_node }}
{{ root_mount + subvolume.mountpoint }}
changed_when: true