Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong ansible versions in the ubuntu- and alpine- based ansible-2.11 images #47

Closed
vitalyrepin opened this issue May 30, 2022 · 2 comments

Comments

@vitalyrepin
Copy link

It looks like that ansible-2.11 is not available in any of the ubuntu- and alpine-based images. Ansible 2.13.0 is included into these images.

For example:

docker run --rm willhallonline/ansible:2.11-alpine-3.14 ansible --version
ansible [core 2.13.0]

docker run --rm willhallonline/ansible:2.11-ubuntu-20.04 ansible --version
ansible [core 2.13.0]

docker run --rm willhallonline/ansible:2.11-alpine-3.15 ansible --version
ansible [core 2.13.0]

@vitalyrepin vitalyrepin changed the title Wrong ansible versions in the images Wrong ansible versions in the ubuntu- and alpine- based ansible-2.11 images May 30, 2022
@pavelpikta
Copy link
Contributor

docker run -it willhallonline/ansible:2.11-alpine-3.13 /bin/sh
/ansible # ansible --version
ansible [core 2.13.0]
config file = None
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.10/site-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.10.4 (main, Apr 30 2022, 16:49:16) [GCC 11.2.1 20220219]
jinja version = 3.1.2
libyaml = False
/ansible # cat /etc/alpine-release
3.16.0
/ansible #

@willhallonline looks like a problem with build specific docker image

@willhallonline
Copy link
Owner

So, this has been an issue with dependencies, wherein it is installing 2.11.11 (as an example) but by also installing the wider ansible-lint project it upgrades other versions due to dependencies, so I will need to tie the versions together. Should be fixed later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants