Hi Dick,

below is the command to identify without ansible , see the role column . 
there is no inbuilt facts for this

testsw#sh switch detail
Switch/Stack Mac Address : 0000*.000000
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master 0000.0000.0000     15     0       Ready
 2       Member 0000.0000.0000     10     0       Version Mismatch

On Friday, July 12, 2019 at 2:28:18 PM UTC+5:30, Dick Visser wrote:
>
> How do you identity that without ansible? 
>
>
> On Thu, 11 Jul 2019 at 23:20, rajthecomputerguy 
> <[email protected] <javascript:>> wrote: 
> > 
> > Hi Team, 
> > 
> > I need to identify master slave on cisco stack switches 3850 in ansible 
> to give some conditions. Any help appreciated. 
> > 
> > thanks 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/b96e120f-65eb-4cc5-b985-55324bc30fa8%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Dick Visser 
> Trust & Identity Service Operations Manager 
> GÉANT 
>

-- 
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/7598c369-61a1-4bc4-ab5a-5fe4d6ee00f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to