1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/lib/ansible/inventory
Abhijit Menon-Sen 065bb52109 Be systematic about parsing and validating hostnames and addresses
This adds a parse_address(pattern) utility function that returns
(host,port), and uses it wherever where we accept IPv4 and IPv6
addresses and hostnames (or host patterns): the inventory parser
the the add_host action plugin.

It also introduces a more extensive set of unit tests that supersedes
the old add_host unit tests (which didn't actually test add_host, but
only the parsing function).
2015-09-11 21:47:18 +05:30
..
vars_plugins Making the switch to v2 2015-05-03 21:47:26 -05:00
__init__.py Be systematic about parsing and validating hostnames and addresses 2015-09-11 21:47:18 +05:30
dir.py Starting to add additional unit tests for VariableManager 2015-09-04 16:41:38 -04:00
expand_hosts.py Be systematic about parsing and validating hostnames and addresses 2015-09-11 21:47:18 +05:30
group.py Catch runtime errors due to recursion when calculating group depth 2015-06-22 02:06:07 -04:00
host.py Starting to add additional unit tests for VariableManager 2015-09-04 16:41:38 -04:00
ini.py Be systematic about parsing and validating hostnames and addresses 2015-09-11 21:47:18 +05:30
script.py Replace .iteritems() with six.iteritems() 2015-09-03 09:23:27 +03:00