Quando tento rodar:
ansible-playbook provisioning.yml -i hosts -K
recebo:
BECOME password:
PLAY [all] *************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************
[WARNING]: Host '192.168.200.248' is using the discovered Python interpreter at '/usr/bin/python3.14', but future installation of another Python interpreter could cause a different interpreter to be discovered. See https://docs.ansible.com/ansible-core/2.20/reference_appendices/interpreter_discovery.html for more information.
ok: [192.168.200.248]
TASK [Install dependencias] ********************************************************************************************
[ERROR]: Task failed: Timeout (12s) waiting for privilege escalation prompt:
Origin: /home/gabriel_fa/ansible/provisioning.yml:4:7
2 - hosts: all
3 tasks:
4 - name: Install dependencias
^ column 7
fatal: [192.168.200.248]: UNREACHABLE! => {"changed": false, "msg": "Task failed: Timeout (12s) waiting for privilege escalation prompt:", "unreachable": true}
PLAY RECAP *************************************************************************************************************
192.168.200.248 : ok=1 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0