mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Ensure runner adds its basedir, so ansible can benefit from plugins
This commit is contained in:
@@ -151,6 +151,8 @@ class Runner(object):
|
|||||||
if self.transport == 'local':
|
if self.transport == 'local':
|
||||||
self.remote_user = pwd.getpwuid(os.geteuid())[0]
|
self.remote_user = pwd.getpwuid(os.geteuid())[0]
|
||||||
|
|
||||||
|
utils.plugins.push_basedir(self.basedir)
|
||||||
|
|
||||||
# ensure we are using unique tmp paths
|
# ensure we are using unique tmp paths
|
||||||
random.seed()
|
random.seed()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user