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

Limit Ansible version to less than v10 #1526

Closed
wants to merge 1 commit into from

Conversation

codepuncher
Copy link

@codepuncher codepuncher commented Jun 19, 2024

Fixes #1525

This is what I have used on a project as a workaround.

Similar to #1393

@codepuncher
Copy link
Author

No need for this; @swalkinshaw has provided an alternative solution for my scenario on Kinsta web hosting.
Just need to tell Ansible what the path is to the valid Python binary is on the remote server using ansible_python_interpreter and set to whatever your python path is on the server e.g. ansible_python_interpreter=/usr/bin/python3

# hosts/staging
- kinsta_staging ansible_host=<IP_HERE> ansible_port=<PORT HERE>
+ kinsta_staging ansible_host=<IP_HERE> ansible_port=<PORT HERE> ansible_python_interpreter=/usr/bin/python3

@codepuncher codepuncher closed this Jul 8, 2024
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.

ansible-core:2.17 / Ansible 10 not supported
1 participant