On 08.02.17 05:10 ednoto...@gmail.com wrote:
> - hosts: localhost
> tasks:
> - command: whoami
> register: who_is_user1
> become: true
> become_user: user1
I think you could set a become_password at this point.
become_password: foobar
Instead of using cleartext it might be better
Apologies in advance if this issue has been answered already. My searches
came up empty.
I have a playbook that uses multiple become users on each host. I'd like
to have the playbook work with whatever become method the caller wants to
use. I know the caller can use connection variables to