Skip to content
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

Set variable "ansible_python_interpreter" if not defined #635

Merged
merged 1 commit into from
Apr 20, 2024

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Apr 20, 2024

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.

@vitabaks vitabaks self-assigned this Apr 20, 2024
@vitabaks vitabaks merged commit c121826 into master Apr 20, 2024
17 checks passed
@vitabaks vitabaks deleted the set-python-interpreter branch April 20, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant