From 8251ab2e377cdd657e175635982329a0a4eb90aa Mon Sep 17 00:00:00 2001 From: Abhijit Menon-Sen Date: Sat, 26 Sep 2015 17:32:13 +0530 Subject: [PATCH] Update outdated comment Since #12165 was merged, hostnames are properly validated. --- lib/ansible/inventory/ini.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/inventory/ini.py b/lib/ansible/inventory/ini.py index f29a5f73ec5..d7b28fde2ed 100644 --- a/lib/ansible/inventory/ini.py +++ b/lib/ansible/inventory/ini.py @@ -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'''^