Hey,
I am currently using ansible v1. I have created a custom action module in v1 that is based on include_vars that loads directory of yaml into an array.
And we just started upgrading to ansible v2 So I have to port my action module.
I tried to recreate that module on v2 and hit a wall.
I created a test repo https://github.com/ahelal/test-include-var-behaviour/tree/master to demonstrate the behaviour.
The module is an exact copy of standard include_vars of v2.
Only difference it takes an argument source
source = self._task.args.get('source')
I pass the following variable as yaml file
`