ara-collection
ara-collection copied to clipboard
Simplify package installation process
Currently, warn
is passed to args
argument in a few places. warn
was removed in ansible 2.14[1] which makes it impossible to use ara_api role with ansible >=2.14.
Patch proposes an easier way to install required packages on all package managers and ensure that their cache is updated.
[1] https://github.com/ansible/ansible/pull/70504
Build failed. https://ansible.softwarefactory-project.io/zuul/buildset/c26e9045e55142f9ad8e9430491ff85d
:x: ara-role-api-distributed-sqlite FAILURE in 11m 07s :x: ara-role-api-mysql FAILURE in 6m 23s :x: ara-role-api-postgresql FAILURE in 5m 52s :x: ara-role-api-gunicorn-nginx FAILURE in 7m 53s :x: ara-role-api-gunicorn-nginx-client-cert FAILURE in 8m 06s :x: ara-role-api-fedora-packages FAILURE in 4m 50s (non-voting)
Hi @damiandabrowski5 and thanks for the PR!
We're in the middle of refreshing the collection as it ran out of maintenance so it will be a good idea to include something like this as well.
My priority is to land https://github.com/ansible-community/ara-collection/pull/71 first which will get the CI back in shape and we will eventually circle back to this.
Thanks for your patience in the meantime.
Hi @damiandabrowski5, sorry for the delay.
I hope my explanation makes sense. We can either update this PR or submit a new one.
Let us know if you would like to do it or we can take care of it.
Thanks.
@dmsimard thanks for an update, feel free to either update my PR or abandon it and create new one ;) I'm fine with both solutions