摘要: 定义主机清单 vim /etc/ansible/hosts 示例 # 中括号分组,后面的http_port是自己定义的参数可以在playbook中使用 [wbservs] 192.168.1.101 http_port=81 192.168.1.102 http_port=82 # 变量定义 [wb 阅读全文
posted @ 2020-10-27 17:54 带着泥土 阅读(182) 评论(0) 推荐(0)