You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
7 years ago
..
cli ansible-galaxy: add collection sub command (#57106) 7 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
config fixes to config manager (#58530) 7 years ago
contrib Fix vmware_inventory unit tests so they run. 7 years ago
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 7 years ago
executor Support using importlib on py>=3 to avoid imp deprecation (#54883) 7 years ago
galaxy ansible-galaxy: add collection sub command (#57106) 7 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
module_utils Option parsing: warn if both an option and its alias are specified for a module (#53698) 7 years ago
modules Address regression causing bootproto=dhcp for manual IP addresses (#56376) 7 years ago
parsing Correct places where match was intended 7 years ago
playbook role: Fix role's hash_params (#55263) 7 years ago
plugins Correct places where match was intended 7 years ago
pytest/plugins Move ansible-test unit coverage code into plugin. 7 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 7 years ago
template Add back _contains_vars method as maybe_template (#58290) 7 years ago
utils patch ansible-connection collection plugin loading (#59119) 7 years ago
vars Fix inventory cache interface (#50446) 7 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago
ansible.cfg Fix ansible-test config management. 8 years ago
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 9 years ago
test_context.py Save the command line arguments into a global context 7 years ago