Info | ||
---|---|---|
| ||
|
설치 대상 서버
Server Name | Hostname | Public IP | Private IP | Account | 설치 Tools | 용도 |
---|---|---|---|---|---|---|
work-vm | work.iisanse.com | 52.141.22.110 | 10.0.1.4 | devops | Ansible | 작업 서버 |
Ansible 설치
Code Block | ||
---|---|---|
| ||
sudo yum install -y epel-release sudo yum install -y ansible |
Ansible 설치 확인
Code Block | ||
---|---|---|
| ||
ansible --version [devops@work-vm ~]$ ansible --version ansible 2.9.1 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/devops/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.5 (default, Jul 13 2018, 13:06:57) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] |
...