tags

I notice when you try use a tag that does not exist ansible happily prints those that do exist in the error output.
Would it be possible/desirable to have an option to just print the tags on demand? How about a tree of playbooks by tags (think of the output of the utility tree)?

Our infrastructure is complicated, and we are beginning to get lots of tags going on.

A --list-tags would be a fine thing to have.

We were waiting on some refactoring to make some of the playbook parsing classes a bit more usable for that, though it actually might not be terribly difficult.

Really I want a way to compile a playbook down to a list of task objects w/o executing them.

Right now that doesn’t quite fit for /usr/bin/ansible-playbook (the script) though so it needs a little bit of cleanup first.

Though I’ll admit - Runner is our first target, so this may be a while.

I’d use the “specify an invalid tag” hack for now.