--- - name: check for supported platform when: ansible_distribution != "Ubuntu" fail: msg: "currenty this only works with ubuntu" - name: prepare storage volume for /var/lib/containerd when: containerd_storage is defined import_tasks: "{{ containerd_storage.type }}.yml" - name: install containerd apt: name: containerd state: present force: yes