mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update outdated comment
Since #12165 was merged, hostnames are properly validated.
This commit is contained in:
parent
6ff4d40d74
commit
8251ab2e37
1 changed files with 1 additions and 2 deletions
|
@ -352,8 +352,7 @@ class InventoryParser(object):
|
|||
# FIXME: What are the real restrictions on group names, or rather, what
|
||||
# should they be? At the moment, they must be non-empty sequences of non
|
||||
# whitespace characters excluding ':' and ']', but we should define more
|
||||
# precise rules in order to support better diagnostics. The same applies
|
||||
# to hostnames. It seems sensible for them both to follow DNS rules.
|
||||
# precise rules in order to support better diagnostics.
|
||||
|
||||
self.patterns['groupname'] = re.compile(
|
||||
r'''^
|
||||
|
|
Loading…
Reference in a new issue