If we execute
ansible commands, the syntax errors will come as in the back, ansible
uses python 2 and the syntax is different for it from version 3.
We can install
python2 and run both side by side.
which python →
shows which version is running.
whereis python →
to see python both 2 and 3 locations.
In the inventory
file, add behavioral parameter as
It is better to
create a group for all python 3 machines in the inventory file and
assign that group to all python 3 machines.
No comments:
Post a Comment