community.general/lib/ansible/executor
James Cammarata b617d62203 Don't use an unset playbook basedir when searching for hostgroup vars
The flag new_pb_basedir is not being utilized in Inventory._get_hostgroup_vars,
leading to the situation where an inventory with no playbook basedir set will
read host/group vars from the $CWD, regardless of the inventory and/or playbook
relative location. This patch corrects that by not using the playbook basedir
if it is unset (None).

This patch also corrects a bug in which the VariableManager would accumulate
host/group vars files, which could lead to incorrect vars files being used when
playbooks are run from different directories containing their own group/host vars
directories.

Fixes #16953
2016-08-17 16:28:48 -05:00
..
process Performance improvements 2016-08-08 15:58:46 -05:00
__init__.py Making the switch to v2 2015-05-03 21:47:26 -05:00
module_common.py (re)allow ansible_python_interpreter to contain more than 1 arg (#16247) 2016-07-26 07:46:16 -07:00
play_iterator.py Cache tasks by uuid in PlayIterator for O(1) lookups 2016-08-10 12:49:19 -05:00
playbook_executor.py Don't use an unset playbook basedir when searching for hostgroup vars 2016-08-17 16:28:48 -05:00
stats.py Making the switch to v2 2015-05-03 21:47:26 -05:00
task_executor.py make parsed param private and explicit (#17104) 2016-08-16 11:59:30 -04:00
task_queue_manager.py Don't immediately return failed for any_errors_fatal tasks 2016-08-12 14:18:50 -05:00
task_result.py Performance improvements 2016-08-08 15:58:46 -05:00