You cannot use HP -UX as your control machine according to their requirements mentioned in their docs.
Currently Ansible can be run from any machine with Python 2 (version 2.7) or Python 3 (versions 3.5 and higher) installed. Windows isn’t supported for the control machine.
This includes Red Hat, Debian, CentOS, macOS, any of the BSDs, and so on.
But you can always use your linux as the control machine, all you have to do is:
Install python version 2
and get the ssh key