add ansible tag runs
nusenu opened this issue · 2 comments
nusenu commented
this would allow us to test our tags
https://github.com/ahelal/kitchen-ansiblepush#kitchenyml-options
provisioner:
tags: ...
Lirt commented
Hey Nusenu,
I can see how this can be useful.
For example we can make a test with tag renewkey, at the end of which will be run verifier (serverspec/inspec), which will check if the key is indeed changed and correct.
Besides that I think that we do not need to specify tags in tests unless we want to test something specific like above. We should mainly test tags that we think that may fail when run isolated. Sometimes that happens, when tasks in tag are dependent on previous tasks which registers variables and so on.
Technically to test tags, we will override provisioner in suite and add tags.