etcd 文档
https://coreos.com/etcd/docs/0.4.7/etcd-api/
https://github.com/oreh/simpletcd
结构
hostvars/12.34.56.78/redis_maxmemory => 4GB
hostvars/12.34.56.78/hostname => abc.jpuyy.com
输出
[abc.jpuyy.com]
12.34.56.78
对应的变量是 redis_maxmemory = 4GB
Think before you speak, read before you think.
etcd 文档
https://coreos.com/etcd/docs/0.4.7/etcd-api/
https://github.com/oreh/simpletcd
结构
hostvars/12.34.56.78/redis_maxmemory => 4GB
hostvars/12.34.56.78/hostname => abc.jpuyy.com
输出
[abc.jpuyy.com]
12.34.56.78
对应的变量是 redis_maxmemory = 4GB
脚本没贴出来呢
Leave a Reply