Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow passing other tags when using untagged (--tags=untagged,tag1,tag2 -> tag1 and tag2 should also run) #11844
OS / ENVIRONMENT
Not sure this is a bug or intentional but in my oppinion in case parameter --tags=untagged,tag1,tag2 is passed to ansible-playbook tag1 and tag2 should be used and both tasks with no tags and tasks with listed tags should be used. But ansible is running only untagged tasks in such situation.
The corresponding code part is the
Download a demo playbook.
STEPS TO REPRODUCE
Is there any progress on this feature? I feel like this should have been the default behavior anyhow. There's a lot of situations where you have a common set of tasks for all hosts, and specific tasks for only some hosts.
To emulate this behavior, I would have to take the complement of the task-tags I want and pass it in to