Ansible itself avoids dealing with state, but it can easily use saved state as an input or output current state in a way you can save. You need to either modify the play to deal with finding out the state dynamically or you save state and pass it in.
As to which one is 'cleanest' ... that is very subjective. ---------- Brian Coca -- 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/CACVha7ebO6u8MbH2t09j3Fx%2B0%3DRapKf7KYkMSWC-W9T6WOawFA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
