For When You Can't Have The Real Thing
[ start | index | login ]
start > ansible > 2.2 > Use Python v3 Instead Of v2

Use Python v3 Instead Of v2

Created by dave. Last edited by dave, 94 days ago. Viewed 155 times. #2
[diff] [history] [edit] [rdf]


Out of the box, modern OS's don't include Python v2 which is what Ansible wants to use.


Use Python v3 instead.

In the hosts file entry for the given host, include the ansible_python_interpreter flag to switch versions.

[db] ansible_python_interpreter=/usr/bin/python3


no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt