zuul/zuul/ansible
Monty Taylor 950c6b1e2d
Fix path exclusions
The current code checks to see that the destination path shares a prefix
with os.path.curdir. However, os.path.curdir is set to the directory
containing the playbook, not the root of the workdir, which means we're
not excluding things in the trusted dir like we'd like to be doing.

We already set HOME to the root of thew workdir, so we can just switch
the check from os.path.curdir to os.path.expanduser('~') and achieve the
original intent.

Change-Id: Ifac41f74f3306fe74b522c910867f9a5375bd61e
2017-10-05 15:47:52 -05:00
..
action Fix 'startswith' delegation typo 2017-09-13 21:06:55 -06:00
callback Explicitely print the result status of each playbook run 2017-10-03 16:44:21 -04:00
filter Only add BUILD_TIMEOUT if there is a timeout 2017-09-28 15:35:41 -05:00
library Be explicit about byte and encoding in command module 2017-09-05 16:51:56 -07: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 path exclusions 2017-10-05 15:47:52 -05:00