Библиотека ansible плейбуков на разные случаи
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vladimir Smagin 34b1b80800 Python2 trick 10 months ago
roles/python2/tasks Python2 trick 10 months ago
.gitignore update ignore file 11 months ago
inventory.ini Python2 trick 10 months ago
project.yml Python2 trick 10 months ago
readme.md Python2 trick 10 months ago

readme.md

Install required for Ansible python 2.7

This playbook shows you a trick to install python 2.7 into fresh created python3-only hosts. For example Ubuntu 16.04 or 18.04 doesnt have python2 libs on-board. Look at first task run with addition var to use Python3 for installing Python2 and next tasks with default Ansible interpreter.