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 6e9c928817 [2.8] Address regression causing bootproto=dhcp for manual IP addresses
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>
(cherry picked from commit 8d0f2e5725)
7 years ago
..
cli Remove unused internal -a argument and functionality (#52602) 7 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 7 years ago
config Fix encoding issues with file paths. (#50830) 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 Move type checking methods out of basic.py and add unit tests (#53687) 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 [stable-2.8] Handle situation where ansible_architecure may not be defined when gathering facts (#55466) 7 years ago
modules [2.8] Address regression causing bootproto=dhcp for manual IP addresses 7 years ago
parsing Handle vaulted non-ascii characters for Python2 (#58503) 7 years ago
playbook Don't pollute include_variables (#54687) 7 years ago
plugins [2.8] Define region for aws_secret (#58722) 7 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 7 years ago
template Native Jinja2: raise undefined error immediately (#52237) 7 years ago
utils [stable-2.8] Skip tests with unsatisfied deps (#55853) 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
conftest.py Update handling of the non_local test alias. 7 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