From f1b16119561aa6ab42aa85c0c1ad2aebf1e2dfcd Mon Sep 17 00:00:00 2001 From: Jeroen Hoekx Date: Wed, 18 Jul 2012 11:50:34 +0200 Subject: [PATCH] Fix typo while handling custom facts. This fixes #611. --- lib/ansible/playbook/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/__init__.py b/lib/ansible/playbook/__init__.py index 4f218f53198..796a570ff52 100644 --- a/lib/ansible/playbook/__init__.py +++ b/lib/ansible/playbook/__init__.py @@ -221,7 +221,7 @@ class PlayBook(object): # add facts to the global setup cache for host, result in results['contacted'].iteritems(): - facts = results.get('ansible_facts', {}) + facts = result.get('ansible_facts', {}) self.SETUP_CACHE[host].update(facts) self.stats.compute(results)