ansible/lib/ansible
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
..
cli added verbosity to ansible-doc to make it easier to trace down issues 2015-09-10 16:50:14 -04:00
compat Making the switch to v2 2015-05-03 21:47:26 -05:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors Making the switch to v2 2015-05-03 21:47:26 -05:00
executor Re-adding part of 926f127 which was actually fixing #12277 2015-09-11 09:45:27 -04:00
galaxy Python 3: avoid iteritems() in a template 2015-09-03 10:11:32 +03:00
inventory Be systematic about parsing and validating hostnames and addresses 2015-09-11 21:47:18 +05:30
module_utils Merge pull request #11818 from Java1Guy/module_utils_ec2_for_ecs 2015-09-10 11:06:19 +05:30
modules Submodule pointer update 2015-09-10 15:44:30 -04:00
new_inventory Making the switch to v2 2015-05-03 21:47:26 -05:00
parsing Be systematic about parsing and validating hostnames and addresses 2015-09-11 21:47:18 +05:30
playbook Make sure include paths are templated before dwim in case they're absolute 2015-09-11 11:57:43 -04:00
plugins Be systematic about parsing and validating hostnames and addresses 2015-09-11 21:47:18 +05:30
template Fix safe_eval() of set literals 2015-09-11 09:41:05 +03:00
utils Use UnsafeProxy for lookup results too 2015-09-08 12:19:39 -04:00
vars Fix some bugs related to facts/nonpersistent-facts cache split 2015-09-10 17:36:39 -04:00
__init__.py Re-adding submodules after moving things around 2015-05-03 22:30:51 -05:00
constants.py actually implemented flags correctly for all priv escalation methods 2015-09-02 11:31:39 -04:00
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00