From 690decb9ce48a420691b143df22892516fad7607 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Tue, 18 Apr 2017 19:07:26 +0800 Subject: Fix warnings on same name of host and group in Ansible 2.3 Change-Id: Iedf0d609a62b956e1f0cd5e941a8fd27e1abc685 Signed-off-by: Yujun Zhang --- qtip/ansible_library/modules/fuel.py | 1 - 1 file changed, 1 deletion(-) (limited to 'qtip/ansible_library') diff --git a/qtip/ansible_library/modules/fuel.py b/qtip/ansible_library/modules/fuel.py index ea2d78b9..5ec45dd1 100644 --- a/qtip/ansible_library/modules/fuel.py +++ b/qtip/ansible_library/modules/fuel.py @@ -100,7 +100,6 @@ def generate_inventory(nodes): 'cluster': cluster_id, 'ansible_ssh_host': node['ip'] } - hosts["node-{}".format(node['id'])].append(hostname) hosts_meta[hostname] = node_meta return {'hosts': hosts, 'hosts_meta': hosts_meta} -- cgit 1.2.3-korg