Support tags on render instructions #1

Open
opened 2024-02-18 17:45:41 +00:00 by dustin · 0 comments

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 optional tags field which contains a list of tags. The tmpl command should accept one or more -t/--tags arguments, and only instructions matching the tags specified by these arguments should be rendered.

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 optional `tags` field which contains a list of tags. The `tmpl` command should accept one or more `-t`/`--tags` arguments, and only instructions matching the tags specified by these arguments should be rendered.
dustin added the
enhancement
label 2024-02-18 17:45:41 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dustin/tmpl#1
There is no content yet.