Библиотека ansible плейбуков на разные случаи
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

334 B

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.