I have yet to figure out how to set a default directory for an ansible source. I tried setting project.ansible-base-dir-path = my-playbook-dir but that does not work.
The issue is ansible source is trying to run the playbook outside the local directory. My inventory requires group_vars to be accessible due to service accounts being separated out in groups by inventory. This will only happen when it is run from the same directory as group_vars.
My workaround was to set a symbolic link from inventory/groups_vars to ./group_vars... I would prefer to not have to do that.
I have yet to figure out how to set a default directory for an ansible source. I tried setting project.ansible-base-dir-path = my-playbook-dir but that does not work.
The issue is ansible source is trying to run the playbook outside the local directory. My inventory requires group_vars to be accessible due to service accounts being separated out in groups by inventory. This will only happen when it is run from the same directory as group_vars.
My workaround was to set a symbolic link from inventory/groups_vars to ./group_vars... I would prefer to not have to do that.