Closed gnotari closed 8 months ago
That is fine. Do you want to give me some guidance of where/what would be an improvement? For where I use the container it is fine as mainly use it to run Ansible via CI jobs rather than as a local machine utility.
@gnotari , did you ever have an update for this? I am not sure that there is anything I can do for ansible-galaxy but just wanted to make sure I was not missing something.
Closing as no updates.
I was wondering the same. It looks like the python package ansible
installed by pip3 contains the builtin collections. The collections versions in that package are controlled upstream.
It is possible to update specific collections e.g.
ansible-galaxy collection install -U community.general
I don't think it makes sense for willhallonline/docker-ansible to updating specific collections. I think the best approach might be to create a custom Dockerfile based on willhallonline/docker-ansible that updates the ansible
python package or the specific collection you need e.g.
FROM willhallonline/ansible:latest
# RUN pip3 install ansible -U
RUN ansible-galaxy collection install -U community.general
Many of the collections included are really old (possibly years old, in some cases). I second the decision of including them, but updated collections should be included at some point.
And yes, of course, I can install them by hand, but the whole point of having a packaged ansible distro is dispensing with most of that..