so i got this playbook with this header:
- hosts: webserver
  user: ansible
  become: yes
  become_method: su

when running the playbook via command:
ansible-playbook -i ../hosts webserver.yml -K
SUDO password: 

Instead of asking for su password, it's somehow asking for sudo password.

i have to overwrite using the following
ansible-playbook -i ../hosts webserver.yml -K --become-method=su
SU password: 

Is this a known bug ?

Thank you

You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to