Hello folks,
I was using --ask-become-pass and it worked fine. But now I’m going to run multiple playbooks at one time so I’m going to include become pass in plaintext for each group. I tried “ansible_become_pass” in inventory file:
[group1]
xxx.xx.xx.xxx ansible_user=ubuntu ansible_become_pass=xxx
But I got “Timeout (12s) waiting for privilege escalation prompt:” error. BTW, I’m using “become_method: su”
Any hints on how to achieve this? Thanks!
Joey