mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
Merge pull request #9732 from shanemcd/fix-pdd-detection
Fix awxkit function that detects private data directories in job args Reviewed-by: Yago Marques <yagomarquesja@gmail.com>
This commit is contained in:
commit
a2e63bd1e2
@ -139,7 +139,7 @@ class UnifiedJob(HasStatus, base.Base):
|
||||
"""
|
||||
self.get()
|
||||
job_args = self.job_args
|
||||
expected_prefix = '/tmp/awx_{}'.format(self.id)
|
||||
expected_prefix = '/tmp/pdd_wrapper_{}'.format(self.id)
|
||||
for arg1, arg2 in zip(job_args[:-1], job_args[1:]):
|
||||
if arg1 == '-v':
|
||||
if ':' in arg2:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user