in the previous PR, it was suggested to set the ansible_python_interpreter variable globally at the inventory level. But if this variable is not specified, then errors are possible.
Now we have added checks at the playbook level, if this variable is not defined (or rather does not have a python3 value) then the variable will be set automatically.
in the previous PR, it was suggested to set the
ansible_python_interpreter
variable globally at the inventory level. But if this variable is not specified, then errors are possible.Now we have added checks at the playbook level, if this variable is not defined (or rather does not have a python3 value) then the variable will be set automatically.