代码拉取完成,页面将自动刷新
ansible 优化脚本,只支持centos-7
注意command的记录日志,是否需要关闭等操作;默认为false,记录command日志
ansible-playbook init_linux.yml -e "run=node1"
[master]
master1 ansible_ssh_host=192.168.50.121 host_ip=192.168.50.121 hostname=m001
master2 ansible_ssh_host=192.168.50.122 host_ip=192.168.50.122 hostname=m002
master3 ansible_ssh_host=192.168.50.123 host_ip=192.168.50.123 hostname=m003
[node]
node1 ansible_ssh_host=192.168.50.131 host_ip=192.168.50.131 hostname=n001
node2 ansible_ssh_host=192.168.50.132 host_ip=192.168.50.132 hostname=n002
node3 ansible_ssh_host=192.168.50.133 host_ip=192.168.50.133 hostname=n003
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。