앤서블 
server :  10.20.30.200
node1 :  10.20.30.201
node2 :  10.20.30.202
node3 :  10.20.30.203

젠킨스 
ip :  10.60.1.102
외부포트  : 50102
내부 젠킨스포트 : 7777

<ansible 설치>

server, node1, node2, node3 동일 진행

systemctl stop firewalld
systemctl disable firewalld
vi /etc/selinux/config 
yum -y update 
yum -y install epel-release
yum -y install ansible

<ansible server에 host구성>

vi /etc/ansible/hosts

Untitled

<host 구성 후 pong 응답 확인>

ansible all -m ping
ansible all -m ping -k 

Untitled