1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fireball2 module will now launch in a proper tmp path

This commit is contained in:
James Cammarata 2013-08-12 22:57:41 -05:00
parent 521e14a3ad
commit 86f01965cd

View file

@ -55,7 +55,8 @@ class Connection(object):
def _execute_fb_module(self):
args = "password=%s" % base64.b64encode(self.key.__str__())
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):
''' activates the connection object '''