ansible
[Ansible] How to ansible install
fendys
2019. 11. 22. 15:38
반응형
설치 환경 : CentOS7 x86_64
설치 방법
1. pip install
[root@ANSIBLE-SERVER ~]#curl -fsSL https://bootstrap.pypa.io/get-pip.py | python2
errno13번 발생 시 관리자 권한으로 싱행 하셔야됩니다. (root 유저 또는 sudo 이용)
2. ansible install
2-1. ansible install
[root@ANSIBLE-SERVER ~]#pip2 install ansible
2-2. ansible update
[root@ANSIBLE-SERVER ~]#pip2 install -U ansible
3. 설치 확인 방법
[root@ANSIBLE-SERVER ~]# ansible localhost -m ping
[WARNING]: No inventory was parsed, only implicit localhost is available
localhost | SUCCESS => {
"changed": false,
"ping": "pong"
}
[root@ANSIBLE-SERVER ~]
반응형