Quando rodei o script, deu erro de permissão
alura@ansible:~/ansible$ ansible-playbook provisioning.yml -i hosts
PLAY [all] ****************************************************************************************************************************************************************************
TASK [Gathering Facts] **************************************************************************************************************************************************************** ok: [10.0.0.11]
TASK [Install dependencias] *********************************************************************************************************************************************************** fatal: [10.0.0.11]: FAILED! => {"changed": false, "msg": "Failed to lock apt for exclusive operation: Failed to lock directory /var/lib/apt/lists/: E:Não foi possível abrir ficheiro de lock /var/lib/apt/lists/lock - open (13: Permission denied)"}
PLAY RECAP **************************************************************************************************************************************************************************** 10.0.0.11 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0