Hi Anthony, Yes, i want to end the playbook if every member switch in a stack is in some state state other than ready. I am writing script for IOS upgrade and every switch needs to be in READY state to proceed otherwise it's going to cause problem.
Regards, Vikram On Friday, 19 March, 2021 at 4:27:41 pm UTC+5:30 Antony Stone wrote: > On Friday 19 March 2021 at 11:53:59, Vikram S wrote: > > > - name: END THIS PLAYBOOK IF ALL MEMBER SWITCHES ARE NOT IN READY STATE > > I find this ambiguous. > > Does it mean that you want to end the playbook if every switch is in some > state state other than ready (so, any switch being ready means the > playbook > goes ahead), or does it mean that you want to end the playbook if not all > switches are ready (some are, but not all)? > > > Antony. > > -- > "How I managed so long without this book baffles the mind." > > - Richard Stoakley, Group Program Manager, Microsoft Corporation, > referring to "The Art of Project Management", O'Reilly press > > Please reply to the list; > please *don't* CC me. > -- 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d459c4e4-55f3-4aa4-9a4d-d73c2f4bf7f9n%40googlegroups.com.