Authored by chunhua.zhang

add

@@ -2,10 +2,11 @@ @@ -2,10 +2,11 @@
2 2
3 ## inventory文件生成 3 ## inventory文件生成
4 4
5 -> 根据 `[iptable](http://git.yoho.cn/yohoops/auto_deploy/tree/master/scripts/iptable)` 自动生成 java gateway、 微服务的inventory  
6 ->  
7 -> 手工维护:`[http://git.yoho.cn/ops/yoho-ansible-roles/tree/master/scripts/inventory/templates](http://git.yoho.cn/ops/yoho-ansible-roles/tree/master/scripts/inventory/templates)` 文件中的 `nginx`, `nameservers` 配置  
8 -> 5 + - 根据 `[iptable](http://git.yoho.cn/yohoops/auto_deploy/tree/master/scripts/iptable)` 自动生成 java gateway、 微服务的inventory
  6 +
  7 + - 手工维护:`[http://git.yoho.cn/ops/yoho-ansible-roles/tree/master/scripts/inventory/templates](http://git.yoho.cn/ops/yoho-ansible-roles/tree/master/scripts/inventory/templates)` 文件中的 `nginx`, `nameservers` 配置
  8 +
  9 +
9 > 依赖: `pip install jinja2` 10 > 依赖: `pip install jinja2`
10 > 11 >
11 > 运行: `python scripts/gen_inventory.py` 12 > 运行: `python scripts/gen_inventory.py`