ansible
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
ansible [2017/08/03 13:26] – Add global host inventory tips memory | ansible [2023/12/03 02:24] (当前版本) – 外部编辑 127.0.0.1 | ||
---|---|---|---|
行 59: | 行 59: | ||
ansible_user=root | ansible_user=root | ||
ansible_ssh_private_key_file=" | ansible_ssh_private_key_file=" | ||
+ | </ | ||
+ | |||
+ | ==== Usage of sub-group ==== | ||
+ | |||
+ | <code ini host> | ||
+ | [test-db] | ||
+ | test-db1 ansible_host=1.1.1.1 | ||
+ | |||
+ | [test-api] | ||
+ | test-api1 ansible_host=2.2.2.2 | ||
+ | test-api2 ansible_host=3.3.3.3 | ||
+ | |||
+ | [test: | ||
+ | test-db | ||
+ | test-api | ||
</ | </ |
ansible.1501766779.txt.gz · 最后更改: (外部编辑)