# Ansible in OCI ubi8

**URL:** <https://forum.ansible.com/t/ansible-in-oci-ubi8/36439>\
**Category:** Ansible Project\
**Created:** [March 15, 2022, 5:43am UTC](https://forum.ansible.com/t/ansible-in-oci-ubi8/36439 "2022-03-15T05:43:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eduardo\_Toro](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@Eduardo\_Toro](https://forum.ansible.com/u/Eduardo_Toro)\
**Post date:** [March 15, 2022, 5:43am UTC](https://forum.ansible.com/t/ansible-in-oci-ubi8/36439/1 "2022-03-15T05:43:13Z")

</div>

Hello Experts,

I’m seeking your help to confirm if it’s posible to install Ansible in an Universal Base Image from Redhat. If not, could you please confirm if there is any plan to allow this?

Thank you for your support.

Ed

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [March 21, 2022, 3:32pm UTC](https://forum.ansible.com/t/ansible-in-oci-ubi8/36439/2 "2022-03-21T15:32:00Z")

</div>

As of right now, the ansible and ansible-core RPMs are only accessible to Ansible Automation Platform subscribers. However RHEL 8.6 and RHEL 9.0 will include ansible-core in the main appstream.

Without a subscription, your best option currently would be to install with pip.

---

<div class="post-metadata">

**Author:** ![Nico\_Kadel-Garcia](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/nico_kadel-garcia/32/9998_2.png) [@Nico\_Kadel-Garcia](https://forum.ansible.com/u/Nico_Kadel-Garcia)\
**Post date:** [March 21, 2022, 9:10pm UTC](https://forum.ansible.com/t/ansible-in-oci-ubi8/36439/3 "2022-03-21T21:10:44Z")

</div>

Forgive my skepticism, but I've been publishing RPM building tools for  
ansible for a while now. They're available today, over at  
[https://github.com/nkadel/ansiblerepo/](https://github.com/nkadel/ansiblerepo/) .I also resolved the  
"README.rst files get copied on top of each other" problem, and the  
"license files get copied on each other", and the "compilation on RHEL  
7 gets confused about /usr/bin/python being python 2.7" problem. Some  
of the solutions were based on advice here, but I simply threw in the  
towel on python 2 support, which seems not to be needed anymore.
