Best way to update Ansible on Ubuntu

詳情見 https://www.reddit.com/r/ansible/comments/9gnnli/best_way_to_update_ansible_on_ubuntu/

Hi all I'm looking for instructions on how to update my current version of Ansible which is 2.3.1.0.

I read online but it says I have to remove it all and then install it fresh again. I'm a bit scared of trying it as I'm scared it'll wipe everything I have. Can anyone help with this issue.

Also below is the instructions I received. Not sure if its reliable.

  1. First remove installed version of ansible using sudo apt-get remove --purge ansible

  2. Now add the correct ppa using sudo apt-add-repository ppa:ansible/ansible

  3. Update the package list: sudo apt-get update

  4. Install ansible: sudo apt-get install ansible

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章