mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Remove an unwanted FIXME annotation
<crab> jimi|ansible: do you think it should be possible to add both foo:22 and foo:23 to the inventory? <jimi|ansible> no …so we don't want an invitation to FIXME.
This commit is contained in:
parent
946c56657b
commit
93515468c4
1 changed files with 1 additions and 2 deletions
|
@ -288,8 +288,7 @@ class InventoryParser(object):
|
||||||
|
|
||||||
# Note that we decide whether or not to create a Host based solely on
|
# Note that we decide whether or not to create a Host based solely on
|
||||||
# the (non-)existence of its hostname in self.hosts. This means that one
|
# the (non-)existence of its hostname in self.hosts. This means that one
|
||||||
# cannot add both "foo:22" and "foo:23" to the inventory. This behaviour
|
# cannot add both "foo:22" and "foo:23" to the inventory.
|
||||||
# is preserved for now, but this may be an easy FIXME.
|
|
||||||
|
|
||||||
for hn in hostnames:
|
for hn in hostnames:
|
||||||
if hn not in self.hosts:
|
if hn not in self.hosts:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue