详情见 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.
-
First remove installed version of ansible using sudo apt-get remove --purge ansible
-
Now add the correct ppa using sudo apt-add-repository ppa:ansible/ansible
-
Update the package list: sudo apt-get update
-
Install ansible: sudo apt-get install ansible