银行Ansible

返回everychengxuan的回答

everychengxuaneverychengxuan系统工程师某某公司

在主机清单里设置

[webservers`]
asdf.example.com  ansible_port=5000   ansible_user=alice  ansible_pass=123456
jkl.example.com   ansible_port=5001   ansible_user=bob   ansible_pass=654321

也可以指定连接类型

[testcluster]
localhost           ansible_connection=local
/path/to/chroot1    ansible_connection=chroot
foo.example.com
bar.example.com




互联网服务 · 2019-12-26
浏览1971

回答者

everychengxuan
系统工程师某某公司
擅长领域: 监控系统运维自动化运维

everychengxuan 最近回答过的问题

回答状态

  • 发布时间:2019-12-26
  • 关注会员:2 人
  • 回答浏览:1971
  • X社区推广