Hi Uni You can use your tacacs to not need "enable 7" as I do not think the module support it.
Meaning when user x enter only standard enable and authorize by tacacs return enable privilage level 7. See http://www.cisco.com/c/en/us/support/docs/security-vpn/remote-authentication-dial-user-service-radius/13860-PRIV.html Christer Den onsdag 9 mars 2016 kl. 11:46:01 UTC+1 skrev Uni: > > Would that work when I send "enable 7" instead of "enable" ? > How do I make Ansible use "enable 7" for authoirzation? > > On Tuesday, 8 March 2016 19:32:20 UTC-5, [email protected] wrote: >> >> 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/fb154f6b-06e2-48c5-87e2-6ae2442d62ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
