Oracle/Python

23 views
Skip to first unread message

Keith Mills

unread,
Mar 1, 2021, 1:18:21 PM3/1/21
to Ansible Project
Hello All,

I'm working on a project with Oracle Exalogic engineered systems that run OL 5.x which has Python 2.4 (ansible wants 2.6 +). I deployed a custom-compiled python but it apparently missing lots of python modules so ansible playbooks still fails. Since it’s an engineered system, oracle controls the updates for it. Since it’s based on Oracle Linux 5.x, Python 2.4 is latest provided by Oracle.

Can anyone give direction on how to resolve this issue?

Regards,

Keith

Dick Visser

unread,
Mar 1, 2021, 1:31:48 PM3/1/21
to ansible...@googlegroups.com
Upgrade to Oracle Linux 6.0 which has python 2.6

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/52b12c0e-9706-48fb-af7c-0401d01a9426n%40googlegroups.com.
--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.

Keith Mills

unread,
Mar 1, 2021, 1:49:30 PM3/1/21
to Ansible Project
Hi Dick,

Cannot upgrade to Oracle Linux 6.0, it’s an engineered system, self-contained bundled config sold that way by Oracle.

Dick Visser

unread,
Mar 1, 2021, 2:33:58 PM3/1/21
to ansible...@googlegroups.com
In that case you should not use ansible at all to manage this system.
There is a reason ansible requires python 2.6+. So even if you would somehow get this (arcane and probably insecure) python version to work on your host, there will then be problems with ansible.

If you really must, then revisit the way you added your own compiled python and make that work. Since you actually seem to have paid for this system, I would suggest contacting the vendor for help on shoehorning such an ansible supported (but unsupported from the vendors point) python version into your system.

Dick

Keith Mills

unread,
Mar 2, 2021, 7:55:19 AM3/2/21
to Ansible Project
Thank you for the information, it is well received.
Reply all
Reply to author
Forward
0 new messages