自动生成 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
2d8de509
–
Merge branch 'master' of git.yoho.cn:ops/yoho-a...
History
|
---|---|---|
.. | ||
templates | Loading commit data... | |
__init__.py | Loading commit data... | |
gen_inventory.py | Loading commit data... | |
readme.md | Loading commit data... |