# Configuring a specific Ansible version in AWX EE Image

**URL:** <https://forum.ansible.com/t/configuring-a-specific-ansible-version-in-awx-ee-image/36951>\
**Category:** AWX Project\
**Tags:** awx, ee\
**Created:** [August 5, 2022, 7:46am UTC](https://forum.ansible.com/t/configuring-a-specific-ansible-version-in-awx-ee-image/36951 "2022-08-05T07:46:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mani3887](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mani3887](https://forum.ansible.com/u/mani3887)\
**Post date:** [August 5, 2022, 7:46am UTC](https://forum.ansible.com/t/configuring-a-specific-ansible-version-in-awx-ee-image/36951/1 "2022-08-05T07:46:02Z")

</div>

Hi Team,

I have a requirement of installing ansible version 2.9.10 in AWX EE image. I specified this: “pip install -I ansible==2.9.10” in my execution-environment.yaml. However when I go to the generated AWX EE image, I observe the ansible version as core 2.12.5

bash-4.4$ ansible --version  
/usr/local/lib/python3.8/site-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated  
“class”: algorithms.Blowfish,  
**ansible [core 2.12.5.post0]**  
config file = None

Can someone please let me know how I can get around this issue?

Thanks and Regards,  
Mani

---

<div class="post-metadata">

**Author:** ![m.nelson](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@m.nelson](https://forum.ansible.com/u/m.nelson)\
**Post date:** [August 12, 2022, 4:04pm UTC](https://forum.ansible.com/t/configuring-a-specific-ansible-version-in-awx-ee-image/36951/2 "2022-08-12T16:04:58Z")

</div>

Hi Mani,  
I had the same issue about setting the ansible version and got around it by adding:  
build\_arg\_defaults:  
EE\_BASE\_IMAGE: ‘[quay.io/ansible/ansible-runner:stable-2.12-devel](http://quay.io/ansible/ansible-runner:stable-2.12-devel)’

to the execution-environment.yml file.

I am using the latest version of the builder and wanted version 2.12, you should try:  
build\_arg\_defaults:  
EE\_BASE\_IMAGE: ‘[quay.io/ansible/ansible-runner:stable-2.9-devel](http://quay.io/ansible/ansible-runner:stable-2.9-devel)’

Hope that helps.

---

<div class="post-metadata">

**Author:** ![mani3887](https://avatars.discourse-cdn.com/v4/letter/m/9f8e36/32.png) [@mani3887](https://forum.ansible.com/u/mani3887)\
**Post date:** [August 13, 2022, 4:19am UTC](https://forum.ansible.com/t/configuring-a-specific-ansible-version-in-awx-ee-image/36951/3 "2022-08-13T04:19:48Z")

</div>

Thanks. I ended up something like this, I went with a stable 2.9 release But it has 2.9.27 version. I had a requirement of having 2.9.10, so I uninstalled Ansible and reinstalled 2.9.10.

---

<div class="post-metadata">

**Author:** ![Shahzad\_Malik](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@Shahzad\_Malik](https://forum.ansible.com/u/Shahzad_Malik)\
**Post date:** [July 12, 2023, 9:34am UTC](https://forum.ansible.com/t/configuring-a-specific-ansible-version-in-awx-ee-image/36951/4 "2023-07-12T09:34:56Z")

</div>

Hi Guys

Can someone guide me how did you make execution environment work with ansible 2.9? I need to create an execution env with ansible 2.9. I followed your instructions but when I start that container it exit straight away. Not sure, what I am missing here? If anyone has clear instructions how can I do it, will appreciate. Thanks

My execution-environment.yml file is below:

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [July 14, 2023, 5:25pm UTC](https://forum.ansible.com/t/configuring-a-specific-ansible-version-in-awx-ee-image/36951/5 "2023-07-14T17:25:53Z")

</div>

you may have greater success using the new ansible-builder 3.0, check out this link [https://ansible.readthedocs.io/projects/builder/en/stable/](https://ansible.readthedocs.io/projects/builder/en/stable/)

AWX Team
