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 /tests/unit/ansible_library/modules | |
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 'tests/unit/ansible_library/modules')
-rw-r--r-- | tests/unit/ansible_library/modules/fuel_test.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/unit/ansible_library/modules/fuel_test.py b/tests/unit/ansible_library/modules/fuel_test.py index 6a440e0d..e004fc17 100644 --- a/tests/unit/ansible_library/modules/fuel_test.py +++ b/tests/unit/ansible_library/modules/fuel_test.py @@ -32,13 +32,7 @@ def test_generate_inventory(data_root): u'node-28', u'node-25', u'node-27'], - u'mongo': [u'node-24'], - 'node-23': [u'node-23'], - 'node-24': [u'node-24'], - 'node-25': [u'node-25'], - 'node-26': [u'node-26'], - 'node-27': [u'node-27'], - 'node-28': [u'node-28']} + u'mongo': [u'node-24']} assert dict(inventory['hosts_meta']) == { u'node-23': {'ansible_ssh_host': u'10.20.11.10', 'cluster': 4, 'ip': u'10.20.11.10', 'mac': u'74:4a:a4:01:71:61', 'name': u'Untitled (71:61)', 'online': True, 'os_platform': u'ubuntu', |