HI!

On the ansible controller I'd like to establish an authenticated LDAP
connection at the beginning of a playbook run and use this afterwards in
several tasks.

Up to now the ansible modules I reviewed seem to re-open all kinds of
backend connections all the time using long-term credentials. Which
means I cannot use 2-factor-auth with an OTP.
(No, using Kerberos is not an option.)

So I wonder whether it's possible to cache a connection object and
re-use it in subsequent tasks. Any framework for something like this?

Ciao, Michael.

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1a98af58-bbd5-2ff1-bfcd-787139d31536%40stroeder.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to