Ansible Fails waiting for privilege escalation on Ubuntu 26
I've slowly been moving my servers from Ubuntu 22 and 24 to 26 this year, and noticed my Ansible automation starts failing if I have password protection for sudo use: $ ansible-playbook main.yml -K BECOME password: PLAY [Security] ******************************************************* TASK [Gathering Facts] *********************************************************************** fatal: [my-server.local]: FAILED! => msg: 'Timeout (12s) waiting for privilege escalation prompt: ' Apparently Ubuntu's been rewriting system utilities in Rust, and the sudo-rs version that ships on Ubuntu 26.04 has some incompatiblities with the sudo I've used on servers for 20+ years.
Jeff Geerling
Topics: Security