본문 바로가기

ansible8

[ANSIBLE] 앤서블 업그레이드 및 윈도우 모듈 동작 방법 개요- ANSIBLE 업그레이드를  할 수 있다.- 명령을 받는 에이전트가 UBUNTU 24.04일 경우 구버전에서는 파이썬 버전 이슈로 플레이북 동작이 안됨 세부내용- 윈도우 모듈의 경우 ansible-galaxy를 통해 별도로 설치해야하며, jenkins에서 동작하기 위해서별도의 공간에 다운로드 및 설치 후 ansible.cfg에 경로지정을 해야한다. # 기존버전 확인$ ansible --versionansible 2.10.8 config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible .. 2025. 3. 4.
ansible command "python setup.py egg_info" failed with error code 1 문제점 pip3 install pywinrm 명령어 수행시 아래와 같은 에러코드가 출력됨 command "python setup.py egg_info" failed with error code 1 해결방안 아래 명령어 수행 sudo -H pip3 install --upgrade --ignore-installed pip setuptools 2022. 5. 12.
ansible sing a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this 문제점 리눅스 console에서는 정상 출력되나 jenkins를 통한 ansible 명령 수행시 아래와 같은 에러가 나온다. Using a SSH password instead of a key is not possible because Host Key checking is enabled and sshpass does not support this. Please add this host's fingerprint to your known_hosts file to manage this host. Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/linux_ping [linux_ping] $ sshpass ******** /usr/bin/an.. 2022. 5. 9.
ansible 에러 Failed to connect to the host via ssh: Permission denied 문제점 플레이북 실행시 아래와 같은 에러발생 TASK [Gathering Facts] *********************************************************************************************************************************************************************** fatal: [x.x.x.x]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).", "unreachabl.. 2022. 5. 3.
ansible awx 구축(cenot7 k8s) Centos7에서 쿠버네티스를 이용하여 awx를 구축하고자 한다. 서버에 어플리케이션 설치에 있어 컨테이너 기술이 더이상 선택이 아닌 필수가 되어지는 느낌이다..어쨌든 나는 아래 내용으로 3번 구축을 해봤고 다 잘 수행되었다. yum 업데이트 yum -y update selinux 설정해제하기 centos에서 필수 설정이다. selinux를 해제한다. setenforce 0 /etc/selinux/config에 SELINUX=disabled로 변경 getenforce로 수행하여 disabled 확인 방화벽 해제하기 systemctl disable firewalld --now 쿠버네티스 설치&확인하기 #설치 curl -sfL https://get.k3s.io | sudo bash - sudo chmod 6.. 2022. 5. 2.
반응형