zuul/zuul/ansible
Tobias Henkel 53147dd648
Fix safe path checks
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
2018-03-12 16:00:26 +01:00
..
action Fix safe path checks 2018-03-12 16:00:26 +01:00
callback Handle debug tasks more robust in zuul_stream 2018-02-08 16:34:26 +01:00
filter Be explicit about legacy var additions/omissions 2017-10-17 18:28:43 +00:00
library Fix broken fail_json in zuul_console 2018-02-12 09:02:46 +01:00
lookup Add some ansible plugin tests 2017-08-03 22:21:19 -05:00
__init__.py Ansible launcher: add zuul_runner module 2016-05-12 11:37:19 -07:00
logconfig.py Use deepcopy when copying ansible logging config 2017-09-06 18:03:12 -07:00
paths.py Fix safe path checks 2018-03-12 16:00:26 +01:00