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
ansible_python_interpreter ignored in Ansible 2.4 for apt module when use async parameter #36536
Comments
Files identified in the description: If these files are inaccurate, please update the |
Could you provide the output invoking ansible-playbook with needs_info I'm not convinced that the linked PR on this issue addresses your problem, as I haven't been able to reproduce, but we did find a semi related bug. |
* Fix types when evaluating interpreter. Fixes #36536 * Rename variables that contain bytes to b_* * Get rid of to_text() and to_bytes() calls that do nothing (because the data is already the proper type)
* Fix types when evaluating interpreter. Fixes ansible#36536 * Rename variables that contain bytes to b_* * Get rid of to_text() and to_bytes() calls that do nothing (because the data is already the proper type) (cherry picked from commit a4df4d3)
* Fix types when evaluating interpreter (#36541) * Fix types when evaluating interpreter. Fixes #36536 * Rename variables that contain bytes to b_* * Get rid of to_text() and to_bytes() calls that do nothing (because the data is already the proper type) (cherry picked from commit a4df4d3) * Changelog entry for the ansible_*_interpreter fix
Re-opening as I'm not sure this is resolved yet. |
The input you ask me to post is done:
|
@ozlevka-ericom thank you for the update. I'll continue to investigate the cause to this. |
@ozlevka-ericom I've just confirmed that the PR that closed this issue, does in fact resolve the problem The fix will be included in ansible 2.4.4, 2.5.0, and 2.6.0 |
ISSUE TYPE
COMPONENT NAME
apt module
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Linux ubuntu-server 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
SUMMARY
The apt module ignore the ansible_python_interpreter variable when use async parameter
STEPS TO REPRODUCE
configure ansible_python_interpreter=/usr/bin/python3 in inventory
default python interpreter in Ubuntu 16.04
Run playbook
EXPECTED RESULTS
Playbook install desired package
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: