ansible/test/units
Tyler Ramer 8d0f2e5725 Address regression causing bootproto=dhcp for manual IP addresses (#56376)
Commit b7724fdf85
appears to have caused a regression, where `ip4`, `gw4`, `ip6`, `gw6`
were converted to `ipv4.address`, `ipv4.gateway` etc.

This causes bootproto (or `ipv4.method`) to remain `dhcp`, as noted in https://github.com/ansible/ansible/issues/36615

This commit only reverts the key-value pairs to the original names,
which is in line with both expectation (manual ip addr == no dhcp) and
the language used in the playbook, which is, for example, "ip4" not
"ipv4.address"

Co-authored-by: Stuart Pollock <spollock@pivotal.io>
Co-authored-by: Tyler Ramer <tramer@pivotal.io>
2019-07-22 09:30:24 +05:30
..
cli ansible-galaxy: add collection sub command (#57106) 2019-07-10 05:47:25 +10:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config fixes to config manager (#58530) 2019-07-17 10:39:30 -04:00
contrib Fix vmware_inventory unit tests so they run. 2018-10-09 22:52:04 -07:00
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 2018-12-04 12:32:02 -05:00
executor Support using importlib on py>=3 to avoid imp deprecation (#54883) 2019-04-25 10:28:18 -05:00
galaxy ansible-galaxy: add collection sub command (#57106) 2019-07-10 05:47:25 +10:00
inventory_test_data/group_vars
mock Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
module_utils Option parsing: warn if both an option and its alias are specified for a module (#53698) 2019-07-19 13:11:41 -04:00
modules Address regression causing bootproto=dhcp for manual IP addresses (#56376) 2019-07-22 09:30:24 +05:30
parsing Correct places where match was intended 2019-07-18 17:10:58 -07:00
playbook role: Fix role's hash_params (#55263) 2019-07-08 09:25:59 -04:00
plugins Correct places where match was intended 2019-07-18 17:10:58 -07:00
pytest/plugins Move ansible-test unit coverage code into plugin. 2019-07-10 10:09:46 -07:00
regex Add toggle to control invalid character substitution in group names (#52748) 2019-03-06 11:49:40 -05:00
template Add back _contains_vars method as maybe_template (#58290) 2019-06-25 10:54:37 -05:00
utils patch ansible-connection collection plugin loading (#59119) 2019-07-16 13:46:15 -07:00
vars Fix inventory cache interface (#50446) 2019-03-06 12:12:35 -06:00
__init__.py
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00
test_constants.py
test_context.py Save the command line arguments into a global context 2019-01-03 18:12:23 -08:00