Commit 86f01965 by James Cammarata

Fireball2 module will now launch in a proper tmp path

parent 521e14a3
...@@ -55,7 +55,8 @@ class Connection(object): ...@@ -55,7 +55,8 @@ class Connection(object):
def _execute_fb_module(self): def _execute_fb_module(self):
args = "password=%s" % base64.b64encode(self.key.__str__()) args = "password=%s" % base64.b64encode(self.key.__str__())
self.ssh.connect() self.ssh.connect()
return self.runner._execute_module(self.ssh, "/root/.ansible/tmp", 'fireball2', args, inject={"password":self.key}) tmp_path = self.runner._make_tmp_path(self.ssh)
return self.runner._execute_module(self.ssh, tmp_path, 'fireball2', args, inject={"password":self.key})
def connect(self, allow_ssh=True): def connect(self, allow_ssh=True):
''' activates the connection object ''' ''' activates the connection object '''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment