运行 debian jessie
我使用以下过程安装了 Ansible:
apt-get update
sudo apt-get install python-yaml python-pip python-jinja2 python-paramiko pip
git clone https://github.com/ansible/ansible.git
cd ansible
git submodule update --init --recursive
sudo make install
有没有一种方法可以干净地卸载 Ansible,而不涉及筛选我的目录树并删除?
目的是重新安装Ansible 1.9版本而不是最新的2.1.0
最佳答案
最好的办法是安装 checkinstall,在 checkinstalls 控制下再次运行安装,然后使用 dpkg 删除东西。
关于python - 如何干净地卸载ansible,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36636112/