Udm_* ansible modules requirements clarification


I’d like to try to automate some actions on UCS from Ansible Tower (AWX) and I’m confused about prerequisites.

https://docs.ansible.com/ansible/latest/modules/udm_user_module.html#udm-user-module states udm_* modules “…uses the python API of the UCS…”. Do I have to install some python UCS code or get UCS Debian debs installed on Ansible Tower or does it work via ssh to UCS and there it does use “python API of the UCS”?

BTW my AWX is a docker container and it is not Debian based, if the latter approach is used that’s OK, if the former one than where to get python UCS api source?

Thank you for answer.


See also - https://github.com/ansible/ansible/issues/58813

I also gave them a try but you need to know that they are not maintained anymore by the developer.
For example state: absent wasn’t working at all - https://github.com/ansible/ansible/pull/55083

At the end I decided to use the udm cli as this is the official way and will always work but thats up to you.

an example you can find here - https://6uellerbpanda.gitlab.io/posts/2019/27-05-Univention-pointer-records-with-Ansible/

1 Like