孤独750 发表于 2018-1-3 07:02:36

ansible安装基本使用

// create ssh key  ssh-keygen
  // copy ssh key to remote host
  ssh-copy-id-i /root/.ssh/id_rsa.pub root@remotehost
  // test whether is ok
  ssh root@remotehost
  备注(参考dns 配置)
  nano /etc/hosts
  ipdnsname
页: [1]
查看完整版本: ansible安装基本使用