--- - hosts: "{{ nodes }}" become: true vars_files: - ../secret vars_prompt: - name: path prompt: "path to unmount" private: no - name: nodes prompt: "nodes to run playbook on" private: no tasks: - name: Unmount disks command: umount "{{ path }}"