On Friday, 7 March 2014 16:31:45 UTC+1, Michael Nelson wrote: > > Hi! > > Just a heads-up that I'm thinking of adding a --list-tags option to > ansible-playbook. Let me know if there's a reason why that wouldn't be a > good idea, or it's not needed etc. > > My use-case is that I'd like to know in advance whether a tag is included > in the playbook, rather than running the playbook and erroring. I can > currently work around this by parsing the error output of `ansible-playbook > --tags random-hash myplaybook`, but I'd like a nicer way :) >
Actually, I've just taken a look at the code and seen that, given that I'm already using python helpers for the ansible support, I could just use ansible.playbook.Play().compare_tags() directly. So no change needed :) -- 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/5173785f-bfd3-408d-9636-ba1ee0859f00%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
