1. 개요

Ansible installation


2. 설치

CentOS Version

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$ cat /etc/*release
CentOS Stream release 8
NAME="CentOS Stream"
VERSION="8"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Stream 8"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
CentOS Stream release 8
CentOS Stream release 8

참고하여 CentOS 8에 설치 하였다.

https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-ansible-on-rhel-centos-or-fedora

Oralce Linux 7 VM은 다음 링크

https://blogs.oracle.com/scoter/ansible-with-oracle-linux-virtualization-manager-olvm

각각 VM에 다음 링크 대로 적용하여 nopass 설정하였다.

ansible 이 각 VM 에 명령어 실행 시, password 인자를 줄 수 있지만,

이번 설치 및 테스트 환경에서는 nopass 설정을 하였다.

https://devfon.tistory.com/31

/etc/ansible 에 설치완료