aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/ansible_library
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-19 03:28:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-04-19 03:28:17 +0000
commit973f0287b44b3bcac193bc069bd474fc252232db (patch)
tree374c366598119a805b66f8660330fe93c8cab643 /qtip/ansible_library
parentd65d96db734fc1b6da094d2df33284452e74a6db (diff)
parent690decb9ce48a420691b143df22892516fad7607 (diff)
Merge "Fix warnings on same name of host and group in Ansible 2.3"
Diffstat (limited to 'qtip/ansible_library')
-rw-r--r--qtip/ansible_library/modules/fuel.py1
1 files changed, 0 insertions, 1 deletions
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}