From 7db49a8048e78402c4c9a0a6cb2604689280fbbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag=20Wie=C3=ABrs?= Date: Thu, 12 Jul 2012 16:46:53 +0200 Subject: [PATCH] Might as well fix this too --- lib/ansible/inventory/yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/inventory/yaml.py b/lib/ansible/inventory/yaml.py index 5ee379339ea..9b950e21d64 100644 --- a/lib/ansible/inventory/yaml.py +++ b/lib/ansible/inventory/yaml.py @@ -132,5 +132,5 @@ class InventoryParserYaml(object): if host not in grouped_hosts: ungrouped.add_host(host) - # make sure ungrouped_hosts is the complement of grouped_hosts + # make sure ungrouped.hosts is the complement of grouped_hosts ungrouped_hosts = [host for host in ungrouped.hosts if host not in grouped_hosts]