- 安裝 python3 python3-setuptools python3-pip3
用yum或者直接用8的媒體使用rpm都行
例如yum: sudo dnf install python3 -y - 這一步時間比較長,耐心等待全部完成(要提前安裝git包):
git clone https://github.com/ansible/ansible.git
-
pip3 install --user ansible
-
mkdir -p ~/.ssh
chmod 700 ~/.ssh
ssh-keygen -t rsa
-
yum install http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
- 打開以下網址下載源碼,後解壓,然後.進行安裝三部曲
/config; make; make install:
https://sourceforge.net/projects/sshpass/files/sshpass/1.06/sshpass-1.06.tar.gz/download -
pip3 install requests
pip3 install pywinrm
rhel8 python3環境下 安裝ansible
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.