because I want to be able to deploy only a certain role or subset of roles sometimes: because I’m developing on these, because a playbook may be huge and people know what bit are to be deployed and so on. And the only way I’ve found to run only a subset of the playbook is to use tags.
Is there any command-line parameter or other options I’m missing in order to deploy only certain roles in a playbook, without abusing tags?
What is the problem with using tags? We tag every role. At the moment, we have 65 tags aggregated across site.yml.
tags are designed specifically for this functionality.
Sure tags work, that’s why I use them. But this need of creating 1-1 tags for roles smells like something missing to me (missing as ansible feature or just from my knowledge).