From 973b1fe02e8a5dae0a45c926f6c574c850edd4b4 Mon Sep 17 00:00:00 2001 From: Jeroen Hoekx Date: Tue, 24 Apr 2012 16:11:03 +0200 Subject: [PATCH] Fix incorrect merge of custom-facts branch. This fixes #216. --- lib/ansible/runner.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ansible/runner.py b/lib/ansible/runner.py index 8ddcf0393d3..e7de296b431 100644 --- a/lib/ansible/runner.py +++ b/lib/ansible/runner.py @@ -347,8 +347,6 @@ class Runner(object): module = self._transfer_module(conn, tmp, module_name) (result, err, executed) = self._execute_module(conn, tmp, module, self.module_args) - if module_name == 'setup': - self._add_result_to_setup_cache(conn, result) (host, ok, data, err) = self._return_from_module(conn, host, result, err, executed) if ok: