[ANSIBLE] 설치 및 설정 for centos


1. ANSIBLE 설치

1
2
yum install http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install ansible

2. ANSIBLE 타워설치

1
2
3
4
5
curl -O https://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-latest.tar.gz
tar xvfz ansible-tower-setup-latest.tar.gz
cd ansible-tower-setup-3.4.3-1/
vi inventory #설정파일
./setup.sh

3. 접속확인

https://[serverIP]:80
admin / password(inventory에서 설정한 pw)


4. 비밀번호 변경

1
2
3
4
5
6
7
[root@tcid]# tower-manage  changepassword admin

Changing password for user 'admin'
Password:
Password (again):
Password changed successfully for user 'admin'
You have new mail in /var/spool/mail/root