■ Ansible 기본 구성
1. SSH / Python 확인
2. 패키지를 활용한 Ansible 엔진 설치
참고) https://twodeveloper.tistory.com/48
[Ansible] Ansible 설치
■ Ansible Install (CentOS) 1) 저장소 파일을 패키지 형식으로 저장 # yum -y install centos-release-ansible-28.noarch 2) 실제 Ansible 설치 프로그램 # yum -y install ansible 3) Ansible 설치 버전 확인 #..
twodeveloper.tistory.com
3. /etc/hosts 에서 파일 설정 -> 관리 노드에서 설정
# vim /etc/hosts

☞ 다음과 같이 구성
4. ssh key 생성 복사 (sudo 설정) -> 호스트 노드에서 설정
참고) https://twodeveloper.tistory.com/43
[Linux] ssh-keygen
■ SSH Key란? Server에 접속 할 때 비밀번호 대신 key를 제출 사용 경우 1) 비밀번호보다 높은 수준의 보안 필요시 2) 로그인 없이 자동으로 Server에 접속시 ■ ssh-keygen [Controller] 1. ssh-keygen으로..
twodeveloper.tistory.com