for individual hosts and groups, use the ansible_python_interpreter inventory variable globally, use the interpreter_python key in the [defaults] section of ansible.cfg 配置文件: [defaults]python_interpreter=/usr/bin/python [defaults]python_interpreter=/usr/bin/python3 ...
Issue Type: Bug Report Ansible Version: ansible 1.8.1 configured module search path = /usr/share/ansible Environment: Running OS: Arch Managing OS: CoreOS Summary: ansible_python_interpreter inventory variable not works as expected. It d...
Summary In the latest version of Ansible, there has been a change in how the ansible_python_interpreter variable is handle. Setting it in this way doesn't work anymore: ansible_python_interpreter="/usr/bin/env python3" It still works in ...
Issue Type: Feature Idea Ansible Version: ansible 1.6 (devel da2126e) last updated 2014/03/04 20:54:15 (GMT +200) Environment: N/A Summary: At the moment, there is no env variable equivalent of the ansible_python_interpreter setting. If ...
ISSUE TYPE Bug Report COMPONENT NAME ansible-pull ANSIBLE VERSION 2.0.2.0 CONFIGURATION OS / ENVIRONMENT SUMMARY ansible-pull seems not to respect the ansible_python_interpreter variable defined in the groupvars and just run scripts with...
Hi@alxnov, I don't think this is actually a bug. The variable is correctly set ( and used ) forlocalhost.ansible_python_interpreterhas to be assigned to each host where you want it to be different, it's not dependent on the connection type. ...
it is configurable, (as you mention globally, by settinginterpreter_python) or per group/host by settingansible_python_interpreter` as a variable. @boca, I think@sivelalready tried to explain it and I can reproduce it as well: I could reproduce it on a SuSe v42.3 client-server having Pyt...
Please select from the following boot commands: ansible ansible-config ansible-console ansible-doc ansible-galaxy ansible-inventory ansible-playbook ansible-pull ansible-vault You can select a boot command by setting the SCIE_BOOT environment variable or else by passing it as the 1st argument. In ...