#設置中文環境, 選中zh_CN.UTF-8 dpkg-reconfigure locales #安裝依賴包 apt-get install python-pip python-dev libffi-dev libssl-dev -y #更新pip ###easy_install --upgrade pip pip install -U pip #更新完畢後要從新登錄或者設置路徑 #更新pyasn1 pip install pyasn1 --upgrade #更新setuptools pip install setuptools --upgrade #安裝ansible pip install ansible