become_password and ansibe variable

42 views
Skip to first unread message

Django [Bastard Operator from Hell]

unread,
Sep 25, 2022, 11:28:14 AM9/25/22
to Ansible Project
Hello,

I would like to process the become_password in a playbook, which I
request with the parameter '-K' when calling ansible-playbook.

Is there a variable that Ansible automatically populates with the
entered value for the become_password? Or can I pass this to a variable
as easily as possible.

Any hint is welcome!


ttyl
Django

Brian Coca

unread,
Sep 26, 2022, 9:50:30 AM9/26/22
to ansible...@googlegroups.com
No, this is specifically avoided.

--
----------
Brian Coca

Django [Bastard Operator from Hell]

unread,
Sep 26, 2022, 10:26:59 AM9/26/22
to ansible...@googlegroups.com
O.K., no problem, so I ask 'bout that password while the initial
ansible-configuration done by my ansible-playbook. Then it will be
stored in my inventory and everything works fine as ecpected.

Thanx 4 help!
Reply all
Reply to author
Forward
0 new messages