Ansible Collection
The Avantra Ansible Collection (avantra.core) lets you interact with Avantra directly from Ansible playbooks, enabling end-to-end automation scenarios where infrastructure provisioning and Avantra system management happen in a single pipeline. The collection is built on top of the avantra.core module and is open source.
The full technical reference is available at Ansible Collection documentation.
Use cases
Deploy an SAP system and register it in Avantra
When deploying a new SAP system through Ansible, use avantra.core to register it in Avantra as part of the same playbook. The system is immediately available for monitoring and automation without a seperate manual registration step.
Register an existing server
You can register servers that are not yet managed by Avatnra. Once registered, the server is automatically monitored and available as an inpur in automation workflows via system selectors.
Query SAP system information
You can retrieve details about registered SAP systems, such as:
- System status
- Instance details
- Configuration.
You can use this data as a dynamic input within your playbooks.
Remove an SAP system from your landscape
You can automate the removal of SAP system from Avantra when decomissioning, keeping your landscape accurate without manual cleanup.
Manage RFC user credentials
You can iterate over all registered SAP systems and set the RFC user credentials across your landscape. This makes credential rollouts consistent and repeatable.