自动生成 inventory 文件
根据
http://git.yoho.cn/yohoops/auto_deploy/blob/master/scripts/iptable/qcloudaz3/app-iptable.sh
自动生成java服务的inventory文件执行方式: 需要在
yoho-ansible-roles
目录下执行:python scripts/inventory/gen_inventory.py
生成成功之后,需要提交到git
Name | Last Update |
Last Commit
76de4f22
–
promotion新增日志同步文件
History
|
---|---|---|
.. | ||
templates | Loading commit data... | |
__init__.py | Loading commit data... | |
gen_inventory.py | Loading commit data... | |
get_iplist.py | Loading commit data... | |
get_iplist.pyc | Loading commit data... | |
readme.md | Loading commit data... |