From 167f185092b3e9be2b8c407347b31269e90874a7 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 27 Aug 2013 14:34:32 -0500 Subject: [PATCH] Initial support for running gather_facts through fireball2 --- lib/ansible/playbook/__init__.py | 2 +- lib/ansible/runner/connection_plugins/fireball2.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index 106f4004195..6a19bd9f3e3 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -447,7 +447,7 @@ class PlayBook(object): remote_pass=self.remote_pass, remote_port=play.remote_port, private_key_file=self.private_key_file, setup_cache=self.SETUP_CACHE, callbacks=self.runner_callbacks, sudo=play.sudo, sudo_user=play.sudo_user, transport=play.transport, sudo_pass=self.sudo_pass, is_playbook=True, module_vars=play.vars, - check=self.check, diff=self.diff + check=self.check, diff=self.diff, accelerate=play.accelerate ).run() self.stats.compute(setup_results, setup=True) diff --git a/lib/ansible/runner/connection_plugins/fireball2.py b/lib/ansible/runner/connection_plugins/fireball2.py index 91628d1d708..af83fcc85ff 100644 --- a/lib/ansible/runner/connection_plugins/fireball2.py +++ b/lib/ansible/runner/connection_plugins/fireball2.py @@ -136,7 +136,6 @@ class Connection(object): response = utils.decrypt(self.key, response) response = utils.parse_json(response) - vvv("COMMAND DONE: rc=%s" % str(response.get('rc',""))) return (response.get('rc',None), '', response.get('stdout',''), response.get('stderr','')) def put_file(self, in_path, out_path):