Note This is work in progress as I learn Ansible or I get stuck at something. I'm not an Ansible expert neither I use it that often to claim that I know Ansible.
To debug a playbook run use ANSIBLE_DEBUG
variable to enable debug:
ANSIBLE_DEBUG=1 ansible-playbook -K -i hosts vscode.yml