Python 和ansible相互调用

来自CloudWiki
跳转至: 导航搜索

python 调用 ansible

ansible API

http://www.ansible.com.cn/docs/tower.html

自编程序调用

用python 的 subprocess 模块

ansible调用python