- hosts: vdoClients remote_user: username become: yes become_method: sudo connection: ssh gather_facts: yes tasks: - name: Create VDO volume vdo1 vdo: name: vdo1 state: present device: /dev/blockdevice logicalsize: 1T