ansible / awx-ee

An Ansible execution environment for AWX project
https://quay.io/ansible/awx-ee
Other
133 stars 156 forks source link

Which Ansible is used? #82

Open RogerSik opened 3 years ago

RogerSik commented 3 years ago

Is there any Changelog / other information to see which EE image use which Ansible Version?

derhoeppi commented 3 years ago

The only one i know is https://github.com/ansible/awx/blob/devel/CHANGELOG.md . But there are no versions of python modules shown. I think it would be nice if a release documentation contains a list of modules / collections.

artm commented 2 years ago

The awx-ee image is based on the :latest tag of ansible-runner, so the ansible version depends on when they build the image. However:

$ docker run --rm quay.io/ansible/awx-ee:0.6.0 ansible --version
ansible [core 2.11.3.post0] 
...

$ docker run --rm quay.io/ansible/awx-ee:0.5.0 ansible --version
ansible [core 2.11.2.post0] 
...

$ docker run --rm quay.io/ansible/awx-ee:0.4.0 ansible --version
ansible [core 2.12.0.dev0]
...

etc

elrondwong commented 2 years ago

I got the related problem.

ERROR! couldn't resolve module/action 'pam_limits'. This often indicates a misspelling, missing collection, or incorrect module path.

This is a compatibility error. It would be resolved if the awx-ee version is downgraded to lowwer release.

It would be nice if the awx-ee tag and ansible tag is corresponding.

relrod commented 1 year ago

It would be nice if the awx-ee tag and ansible tag is corresponding.

Well, we don't do that, but we do tag awx-ee images with corresponding AWX releases now (this is new as of this last AWX release).

To answer the original question, I don't think we maintain a listing of ansible versions that correspond to each tag. But maybe we could add that to the release notes with AWX releases, if it's easy to automate.

CCing @john-westcott-iv for thoughts on that.

john-westcott-iv commented 1 year ago

It looks like we just pull in ansible core here: https://github.com/ansible/awx-ee/blob/devel/_build/requirements.txt#L4 I'm torn on putting this directly in the awx release notes because it really applies to the awx-ee release and we don't track anything else going on in the awx-ee in the awx release notes. That being said, awx-ee does not have releases (past 0.6.0) so unless we started tagging and releasing in that repo a note in the awx release might make more sense.

After noodling on it, I think my preference (if we wanted to do something with this) would be to have a release in the awx-ee repo which could list any changes and also add the output pip freeze or any other information we wanted to expose.