#31425 affects variables assigned to implicit localhost in a backwards-incompatible way #31857
Labels
affects_2.5
This issue/PR affects Ansible v2.5
bug
This issue/PR relates to a bug.
inventory
Inventory category
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
inventory
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
N/A
SUMMARY
Before #31425 was merged, and going back at least as far as ansible 2.0, the implicit localhost entry was assigned group vars from 'all'. Now it is not.
STEPS TO REPRODUCE
test.yml:
group_vars/all.yml:
Run
ansible-playbook -i /dev/null test.yml
EXPECTED RESULTS
ansible 2.0.2.0 and all other versions tested before this pull request show the variable as defined:
ACTUAL RESULTS
The variable is now shown as undefined.
The text was updated successfully, but these errors were encountered: