Updating your Ansible collections and core installation
You may very well be asking what happens to the collections you installed at the time of installing Ansible – how do you maintain or upgrade them? Naturally, one way is to wait for the next release of the ansible
package, and then upgrade it with pip
– however, this is a brute-force method and may not provide you with the results you are looking for. Let’s take a more fine-grained approach.
Let’s say you want to get access to the latest features in the amazon.aws
collection, which is bundled with the ansible
package when you install it – you would simply install it (again!) as follows:
$ ansible-galaxy collection install amazon.aws Starting galaxy collection install process Process install dependency map Starting collection install process Downloading https://galaxy.ansible.com/download/amazon-aws-6.1.0.tar.gz to /home/james/.ansible/tmp/ansible-local-12589si7_q1d/tmpytach2d5/amazon-aws...