环境准备
服务器系统 | Centos7.3 |
---|---|
内存 | 1G |
CPU | 2核 |
IP地址 | 10.0.0.43 |
服务器系统 | Centos7.3 |
---|---|
内存 | 1G |
CPU | 2核 |
IP地址 | 10.0.0.44 |
yum -y install ansible
ssh-keygen
ssh-copy-id 10.0.0.44
vim /etc/ansible/hosts
ansible webserver -m ping
mkdir
环境准备
服务器系统 | Centos7.3 |
---|---|
内存 | 1G |
CPU | 2核 |
IP地址 | 10.0.0.43 |
服务器系统 | Centos7.3 |
---|---|
内存 | 1G |
CPU | 2核 |
IP地址 | 10.0.0.44 |
yum -y install ansible
ssh-keygen
ssh-copy-id 10.0.0.44
vim /etc/ansible/hosts
ansible webserver -m ping
mkdir