I was just wondering if there's a bail-out or break module/keyword that I can use to stop processing a play on that host after a certain condition is met.
For instance, I'm doing some setup on some servers where some certain things need to happen based on how the machine was provisioned (hardware setup). The condition doesn't really belong in a group and doesn't change the server's role, just whether or not I need to run the rest of the play. I can determine this condition and I've used register + set_fact to make it available, but as it stands now I have to put a "when: do_all_the_things" on each and every subsequent task. Not a biggies, just wondering if there's a better way. -- 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/CAJQqANf1R8Hib4ay9rM2Bb0U7rWeaRwMaQedyV1O7xnK-U7L8w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
