diff options
author | Matt Clay <matt@mystile.com> | 2019-08-08 23:51:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-08 23:51:03 -0700 |
commit | df59f06d6aa374613c1f76f32eefc00aa8e24bdc (patch) | |
tree | 5f03dddd601e6542ee0f588b9c5291a79c9dd16a /test/lib/ansible_test/_internal/payload.py | |
parent | 3777c2e93df23ac6bf59de6196c28a756aed7c50 (diff) | |
download | ansible-df59f06d6aa374613c1f76f32eefc00aa8e24bdc.tar.gz |
Additional ansible-test path fixes. (#60300)
* Add missing ansible-test injector symlink.
* More ansible-test path fixes.
* Expand bin-symlinks docs.
Diffstat (limited to 'test/lib/ansible_test/_internal/payload.py')
-rw-r--r-- | test/lib/ansible_test/_internal/payload.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/ansible_test/_internal/payload.py b/test/lib/ansible_test/_internal/payload.py index db1df19031..4635bc19a9 100644 --- a/test/lib/ansible_test/_internal/payload.py +++ b/test/lib/ansible_test/_internal/payload.py @@ -18,7 +18,7 @@ from .config import ( from .util import ( display, ANSIBLE_ROOT, - ANSIBLE_IS_INSTALLED, + ANSIBLE_SOURCE_ROOT, remove_tree, is_subdir, ) @@ -59,7 +59,7 @@ def create_payload(args, dst_path): # type: (CommonConfig, str) -> None files = list(data_context().ansible_source) - if ANSIBLE_IS_INSTALLED: + if not ANSIBLE_SOURCE_ROOT: # reconstruct the bin directory which is not available when running from an ansible install files.extend(create_temporary_bin_files(args)) |