diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-18 19:07:26 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-04-18 19:17:05 +0800 |
commit | 690decb9ce48a420691b143df22892516fad7607 (patch) | |
tree | 0999a1a9491d80bb06c444fae2a2f50e4886af0d /qtip/ansible_library | |
parent | b40f4ca8366037551d17ce93f892caba464f9bc0 (diff) |
Fix warnings on same name of host and group in Ansible 2.3
Change-Id: Iedf0d609a62b956e1f0cd5e941a8fd27e1abc685
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/ansible_library')
-rw-r--r-- | qtip/ansible_library/modules/fuel.py | 1 |
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} |