Ensure runner adds its basedir, so ansible can benefit from plugins

pull/1648/head
Daniel Hokka Zakrisson 12 years ago
parent 5183417de8
commit d2abfb9ff8

@ -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…
Cancel
Save