- name: Create btrfs in LUKS container. filesystem: device: /dev/mapper/cryptroot state: present type: btrfs - name: Mount new filesystem to /mnt. mount: state: mounted src: /dev/mapper/cryptroot path: /mnt fstype: btrfs opts: defaults,noatime,compress=zstd - name: Create Btrfs @ subvolume. command: cmd: btrfs subvolume create /mnt/@ creates: /mnt/@ - name: Create Btrfs @/root subvolume. command: cmd: btrfs subvolume create /mnt/@/root creates: /mnt/@/root - name: Create Btrfs @/home subvolume. command: cmd: btrfs subvolume create /mnt/@/home creates: /mnt/@/home