Hi,
so i got this playbook with this header:
`
— #WEBSERVVER
- 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