IT기술/Linux 계열
[Linux] ansible 설치하기 (ansible-2.4.4.0)
Travelo
2022. 6. 27. 15:30
728x90
반응형
ansible 수동 설치 방법 (2.4.4.0) - git을 활용한 방법
1. git을 통한 설치 방법
root@ubuntu:~# git clone https://github.com/ansible/ansible.git
GitHub - ansible/ansible: Ansible is a radically simple IT automation platform that makes your applications and systems easier t
Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to clo...
github.com
root@ubuntu:~# cd /ansible
root@ubuntu:~# git checkout -b stable-2.4.4.0
root@ubuntu:~# git branch (git branch 정보 확인)
root@ubuntu:~# make
root@ubuntu:~# make install
root@ubuntu:~# ansible --version
2. 압축파일 다운로드를 통한 설치 방법
https://releases.ansible.com/ansible/
Index of /ansible
releases.ansible.com
위 주소에서 ansible-2.4.4.0.tar.gz 파일 받아서,
필요 패키지(apt-get install python-dev libffi-deb libssl-dev libxml2-dev libxslt1-dev) 설치하고
root@ubuntu:~# make
root@ubuntu:~# make install
root@ubuntu:~# ansible --version
ansible 수동 설치 방법 (2.4.4.0) - wget을 활용한 방법
root@ubuntu:~# apt remove ansible
root@ubuntu:~# pip install setuptools
root@ubuntu:~# wget https://releases.ansible.com/ansible/ansible-2.4.4.0.tar.gz
root@ubuntu:~# tar -xvf ansible-2.4.4.0.tar.gz
root@ubuntu:~# cd ansible-2.4.4.0/
root@ubuntu:~# make
root@ubuntu:~# make install
root@ubuntu:~# cp /usr/local/bin/ansible* /usr/bin
root@ubuntu:~# ansible --version (# ansible 2.4.4.0 확인)
728x90
반응형