安装 Python

这个角色使用 raw
模块来安装 Python,因此你可以用它来准备主机,以便使用 Ansible。
示例剧本
- name: 确保 Python 已安装
hosts: all
gather_facts: no
become: yes
roles:
- install-python
- name: 执行其他角色
hosts: all
gather_facts: yes
become: yes
roles:
- other-role
许可证
WTFPL
作者信息
:octocat:谢尔盖·孔德拉绍夫