53147dd648
Currently the safe path checks mostly just work on the pure given arguments. However ansible searches in several paths for the file and uses this then. Thus the safe path check can validate a non existing file (as it doesn't obey the modules search path) while the module finds the file and follows any symlinks. The solution for this is not to try to determine the correct paths ourselves but hooking into the search routine (_find_needle) the modules use for finding their local files. Using this approach we have the correct paths and can validate them properly. Change-Id: I2b3dbcfcfcf8a82e4e6df286cc3287aaa7fa2790 |
||
---|---|---|
.. | ||
action | ||
callback | ||
filter | ||
library | ||
lookup | ||
__init__.py | ||
logconfig.py | ||
paths.py |