New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hash variables fail to be loaded with include_vars in a role after a group_by #70598
Comments
Files identified in the description: If these files are incorrect, please update the |
I bisected the first bad commit to 9e00214 |
@bcoca ACTUAL RESULTS with ansible 2.9.11: issueWith ansible from Pypi:
The issue is still there although the symptom is quite different: The value '{{ connections.ssh.become }}' is not a valid boolean
ACTUAL RESULTS with ansible 2.11.0.dev0: issueWith ansible from sources (8188bce):
The issue is still there although the symptom is a little different: could not find matching plugin: 'enable'
|
the backport to 2.9 is #70689, which has not been merged yet. |
SUMMARY
When
include_vars
is used in a role after agroup_by
, complex variables fail to load whereas simple ones can be loaded.This issue happens:
ISSUE TYPE
COMPONENT NAME
include_vars
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
playbook: include_vars issue.yml
roles/os_classify_issue/tasks/main.yml
group_vars/os_version/connections.yml
roles/os_classify_issue/vars/all/ssh/ansible_connections.with.private_key_file.yml
ACTUAL RESULTS with ansible 2.9.9: No issue
ACTUAL RESULTS with ansible 2.9.10: issue
The included hash is not interpreted correctly:
"Invalid become method specified, could not find matching plugin: '{{ connections.ssh.become_method }}'
The text was updated successfully, but these errors were encountered: