时间:2021-07-01 10:21:17 帮助过:4人阅读
然后修改/etc/ansible/hosts
:
root@node-admin:~# grep -Ev "^$|#" /etc/ansible/hosts [bigchain] 10.0.0.71 ansible_ssh_pass=123 10.0.0.72 ansible_ssh_pass=123 10.0.0.73 ansible_ssh_pass=123 10.0.0.74 ansible_ssh_pass=123 10.0.0.75 ansible_ssh_pass=123 root@node-admin:~#
设置为首次链接不需要key认证
sed -i "s/^#\(host_key_checking\).*/\1 = False/g" /etc/ansible/ansible.cfg
设置好了,可以测试一下:
ansible bigchain -m ping
多节点bigchaindb集群部署
标签:aci str des pass node pac inf upd roo