Why not use the "-K" when launching ansible-playbook? That will trigger prompting fo the sudo password securely.
On Wed, Feb 21, 2024 at 3:53 AM Dick Visser <[email protected]> wrote: > Hii, > I would like to have a playbook trigger the asking of the become password, > but I couldn't find how to do it. > Is there perhaps some variable that can be set in a playbook (or play) to > do this? I was thinking of something like "ask_become_pass: true" or > something like that. > > thx > Dick > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAF8BbLZ4UY0tmtTXn%3DWHpLKf2icaRiGYPr7SmHqk0AsEGD53oQ%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAF8BbLZ4UY0tmtTXn%3DWHpLKf2icaRiGYPr7SmHqk0AsEGD53oQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEcFzYyUG%2BUUonzTpMY3oVtVy%2BURsaAM89TEwj2jFtMp6ErTsg%40mail.gmail.com.
