mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Ensure runner adds its basedir, so ansible can benefit from plugins
This commit is contained in:
parent
5183417de8
commit
d2abfb9ff8
1 changed files with 2 additions and 0 deletions
|
@ -151,6 +151,8 @@ class Runner(object):
|
|||
if self.transport == 'local':
|
||||
self.remote_user = pwd.getpwuid(os.geteuid())[0]
|
||||
|
||||
utils.plugins.push_basedir(self.basedir)
|
||||
|
||||
# ensure we are using unique tmp paths
|
||||
random.seed()
|
||||
|
||||
|
|
Loading…
Reference in a new issue