본문 바로가기

728x90

앤서블 설치

우분투에서 최신 버전의 ansible을 설치하는 방법 우분투에서 최신 버전의 ansible을 설치하는 방법 테스트 환경 $ lsb_release -d Description: Ubuntu 22.04.2 LTS 우분투에서 apt를 사용하여 최신 버전의 ansible을 설치하려면 다음과 같은 단계를 따르면 됩니다. 1. 패키지 관리자의 패키지 목록을 업데이트합니다. sudo apt update sudo apt install software-properties-common 2. Ansible PPA 저장소를 추가합니다. sudo add-apt-repository --yes --update ppa:ansible/ansible $ sudo add-apt-repository --yes --update ppa:ansible/ansible Repository: 'deb h.. 더보기
[리눅스] 우분투에서 Ansible을 설치하는 방법 우분투에서 Ansible을 설치하는 방법 테스트 환경 $ lsb_release -d Description:Ubuntu 22.04.2 LTS Ansible의 최신 버전을 설치하려면 Ansible의 공식 PPA(Personal Package Archive)를 추가하여 설치할 수 있습니다. 1. 먼저, software-properties-common 패키지를 설치합니다. sudo apt update sudo apt install -y software-properties-common 2. 다음 명령어를 사용하여 Ansible PPA를 추가합니다. sudo apt-add-repository -y ppa:ansible/ansible $ sudo apt-add-repository -y ppa:ansible/ansib.. 더보기
Ansible 설치 및 업그레이드 Ansible 설치 및 업그레이드 테스트 환경 운영체제 버전 정보 $ cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) Ansible 설치 python 버전 $ python --version Python 2.7.5 앤서블 설치 yum install -y ansible ansible-python3 앤서블 버전 ansible --version $ ansible --version ansible 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/mod.. 더보기

728x90