065bb52109
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). |
||
---|---|---|
.. | ||
vault | ||
yaml | ||
__init__.py | ||
test_addresses.py | ||
test_data_loader.py | ||
test_mod_args.py | ||
test_splitter.py | ||
test_unquote.py |