Support tags on render instructions #1
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
One of the most powerful features in Ansible is the ability to add arbitrary tags to tasks. When running
ansible-playbook, you can specify one or more tags to select, and only tasks with matching tags will be applied.I'd like to bring this same idea to
tmpl. Render instructions should have an optionaltagsfield which contains a list of tags. Thetmplcommand should accept one or more-t/--tagsarguments, and only instructions matching the tags specified by these arguments should be rendered.