Hi all - I've been writing Ansible playbooks for a while & including tags where I thought it made sense. As could be expected, I reworked many of my playbooks now that I've got a rhythm to my design and included more intelligent/intuitive tagging. I include a tag for deploying binaries, one for configuration, and one for assembling snippets (a subset of configuration). Using tags in conjunction with one another has allowed me to execute roles, and subsets of roles with as little as two tags. For example, execute role for appA, but only configure it (because it's already deployed). It saves time with playbook execution for those situations where you know the application version is installed properly.
It gets me excited every time I have to execute one because I actually get to use some functionality that I intentionally wrote. What are some ways you use tags? How does it improve your automation execution? -Adam -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8e36ef48-6377-463c-94a6-5b3a42c190f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
