Re: [ansible-project] ansible playbook become-method not working

2018-05-04 Thread Brian Coca
It is the same password, it is just asking for the 'default/current'
become method, you can ignore the display and we have changed it to
the neutral 'become' in recent versions.


-- 
--
Brian Coca

-- 
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 
https://groups.google.com/d/msgid/ansible-project/CACVha7d84pU8aQe95cgN09eQy1p0UcVOmZZ1W73uAhKYABqX6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] ansible playbook become-method not working

2018-04-14 Thread Benny Kusman
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

-- 
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 
https://groups.google.com/d/msgid/ansible-project/4177b2bf-d9c3-40db-94eb-bee01b779ba2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.