What is the best practice to place a task that will be used multiple times across a playbook and the output of this task will be used in the conditionals of the main tasks? I am writing a playbook that - does app server patching - checks the server status and based on the status performs a few tasks - the checks are performed multiple times within the playbook and the output var is used in the condition for the next task
-- 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/121ad55a-7cf6-4521-8571-590827af14bf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
