Hi,
If you're interested in managing Clearpass services configuration with Ansible, checkout this collection: https://galaxy.ansible.com/sachaboudjema/tipsconfig
This collection implements modules to communicate with Clearpass' XML API, a.k.a. tipsconfig.
The purpose of these modules is to allow management of Clearpass configuration as code, with version-controlled templated XML files.
The module parameters are used to build and XML snippet sent to the API as a request. The API returns a response as an XML snippet. It's up to the caller to parse the XML response for further use.
For more details about the API, see the complete doumentation.
The XML API gives read and write access to configuration elements such as Services, Auth Sources and Enforcement Profiles, that cannot be accessed through the more recently developed REST API.
Any feedback would be appreciated.
Cheers,