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

Last docker image doesn't have ansible 3.1.0 #12

Open
ricardogaspar2 opened this issue Apr 3, 2021 · 1 comment
Open

Last docker image doesn't have ansible 3.1.0 #12

ricardogaspar2 opened this issue Apr 3, 2021 · 1 comment

Comments

@ricardogaspar2
Copy link

Hi there, I'm having an issue with the latest docker image. It supposed to have the latest ansible, but noticed that it has ansible 2.10.7. Could you double-check it?

docker run -it --env ANSIBLE_HOST_KEY_CHECKING=False --entrypoint ansible -v $PWD:/tmp/playbook:Z jmal98/ansiblecm:3.1.0 --version
ansible 2.10.7
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.8/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.8.8 (default, Mar 15 2021, 13:10:14) [GCC 10.2.1 20201203]
@jmal98
Copy link
Owner

jmal98 commented Jan 17, 2022

Hi,

It looks like that is new behavior of Ansible with it's change to split out things into different components (https://www.ansible.com/blog/ansible-3.0.0-qa). It appears that --version will only show the version of the base components. This is also confirmed when looking at the installed components via:

docker run -it --rm --env ANSIBLE_HOST_KEY_CHECKING=False --entrypoint sh -v $PWD:/tmp/playbook:Z jmal98/ansiblecm:3.1.0 -c 'find / -name '*ansible*' 2> /dev/null' | grep egg /usr/lib/python3.8/site-packages/ansible-3.1.0-py3.8.egg-info /usr/lib/python3.8/site-packages/ansible_base-2.10.7-py3.8.egg-info

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

2 participants