You can use the following arguments to any of the IOS modules: authorize: yes auth_pass: <your enable password.
On Tuesday, March 8, 2016 at 10:59:30 AM UTC-5, Uni wrote: > > Hi guys > > I am totally new to Ansible. Could anyone of you please point me to an > example on how to use Ansible with two steps authentication? Our network > devices access in controlled by Tacas+ and we have to authenticate to get > access and then use "enable x" to get to the access level that we need. > This command also requires authentication How is this handled in Ansible? > -- 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/4c09b0e8-ee88-44d7-b4ce-0be017931d1d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
