# tasks file for mounting ext4 - name: mount ext4 ansible.builtin.mount: path: "{{ item.mount }}" src: "{{ item.device }}" fstype: ext4 opts: noatime state: mounted loop: "{{ ext4_mounts }}" - name: mount ext4 ansible.builtin.mount: path: "/mnt/data/" src: "UUID=a11c4225-bf55-4888-ab15-589afde95510" fstype: ext4