International
The Morning Dev

Only the news worth knowing

‹
 

News

Ansible Fails waiting for privilege escalation on Ubuntu 26

Jeff Geerling ·

The Brief

  • Jeff Geerling reports that Ansible automation starts failing on Ubuntu 26 when sudo requires a password.
  • He was moving servers from Ubuntu 22 and 24 to Ubuntu 26 this year when the failure appeared.
  • The failure occurs when running ansible-playbook with the -K (BECOME password) option.

Why it matters

Playbooks that use privilege escalation with a sudo password may fail on Ubuntu 26 hosts, which can block automated server setup and maintenance.

Who’s affected

  • Ansible users running playbooks with sudo password prompts 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]…

Timeline

  1. Jeff Geerling reports Ansible failing at privilege escalation on Ubuntu 26

  2. Jeff Geerling

    Ansible Fails waiting for privilege escalation on Ubuntu 26

How do you feel about this?

0 Comments

    Ansible Fails waiting for privilege escalation on Ubuntu 26 – The Morning Dev