Ansible roles to setup Ubuntu desktop.
Edit the sudoers file using visudo.
sudo visudo
Replace {user} with your username.
# Allow members of group sudo to execute any command
%sudo ALL=(ALL:ALL) ALL
{user} ALL=(ALL:ALL) NOPASSWD: ALL
ansible-playbook -i hosts.yml site.yml