Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
title목차

Table of Contents


설치 대상 서버

Server NameHostnamePublic IPPrivate IPAccount설치 Tools용도
work-vmwork.iisanse.com52.141.22.11010.0.1.4devopsAnsible작업 서버
web01-vmweb01.iisanse.com52.141.43.1610.0.1.5devops-대상01 서버
web02-vmweb02.iisanse.com52.141.7.6410.0.1.6devops-대상02 서버
web03-vmweb03.iisanse.com52.141.22.18210.0.1.7devops-대상03 서버

Ansible 설치

Code Block
title설치 명령어
sudo yum install -y epel-release
sudo yum install -y ansible

Ansible 설치 확인

Code Block
title버전 확인
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)]

...