We use Kitchen test for every Ansible role as a norm. While working on some new Roles notice that a specific software installation did not work on Kitchen itself but worked fine on target VMs.In order for the role to work inside Kitchen some workaround tasks were added.
Should the workaround tasks only present on kitchen related files or can be added to main role yml with skip tags?
I consider that any kitchen related tasks should only exists on Test files, but some co workers disagree as say that task are needed for the test.
Thanks,
Ivan