--- - name: check for supported platform when: ansible_distribution != "Ubuntu" fail: msg: "currenty this only works with ubuntu" - name: prepare /var/lib/containerd as LVM when: containerd_lvm is defined import_tasks: lvm.yml - name: prepare /var/lib/containerd as ZFS dataset when: containerd_zfs is defined import_tasks: zfs.yml - name: install containerd apt: name: containerd state: present force: yes