Hi
I’m reasonably new to Ansible (about 6 months usage) and have just started looking into how I could best make use of the tagging functionality. At the moment I usually only add tags when I need to run something as a one-off, so create a throwaway tag called ‘foo’, run the playbook and then remove the tag.
When I first looked into tags I was expecting to be able to do it by role, but as tagging is only by task it seems to me at the moment I’d have to add lots of tags (as I have lots of tasks) - and was worried about this becoming a complete mess.
Is anyone able to share/link any tips or tricks for how they use tags, or strategies for how they can best be managed and maintained.
Thanks!