Ansible for IBM Z

Ansible for IBM Z

Ansible for IBM Z

Facilitate communication, user interaction and feedback for Red Hat Ansible Certified Content for IBM Z

 View Only

Ansible, ZOA Utilities and ZIIPy Python

By James Gill posted Fri November 03, 2023 02:11 PM

  

We just published a new blog post looking at getting the ibm_zos_core 1.7.0 collection running with Python 3.11 (ZIIP enabled) and ZOA Utilities 1.2.5 on the Triton blogs page here:

https://www.triton.co.uk/ansible-zoa-utilities-and-ziipy-python/

There were a couple of things that we tripped over when getting everything running that kept us busy for a little longer than anticipated. They're covered in the blog post ("Things We Didn't Like"), but we got fixed. These were:

  • Having to define libpython3.9.so as a link to our installed libpython3.11.so for some of ZOA Utilities to work. We used the wheel Python API configuration method, which didn't include this, although the PYTHONPATH environment method does (it's what the configure.py does). The install and configure doc is here : https://www.ibm.com/docs/en/zoau/1.2.x?topic=installing-configuring-zoau
  • The zoaversion tool reports a lot of extra data, which confuses (and breaks) ansible. This is used to verify the version of ZOAU to make sure that it's at the right level to support the module being used. We tracked the issue back to a supplied ".buildinfo" file in the ZOAU "bin" directory and hacked it about to get everything working. This is covered in more detail in the blog.

Other than these two - pretty easy to fix - problems (with ZOAU), the ibm_zos_core 1.7.0 is fantastic. As mentioned in the blog, development is ripping along and the 1.8.0 beta is already available.

Looking forward to 1.8.0!

0 comments
24 views

Permalink