cisco.radkit.service_info module – Retrieve RADKit service information and status
Note
This module is part of the cisco.radkit collection (version 2.0.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install git+https://wwwin-github.cisco.com/scdozier/cisco.radkit-ansible.git
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cisco.radkit.service_info
.
New in cisco.radkit 0.6.0
Synopsis
Tests connectivity to RADKit service and retrieves comprehensive service information
Provides service status, capabilities, inventory details, and security features
Useful for health checks, monitoring, and service discovery operations
Supports optional inventory and capability updates during information gathering
Requirements
The below requirements are needed on the host that executes this module.
cisco-radkit-client
Parameters
Parameter |
Comments |
---|---|
Alternate path to client ca cert for RADKIT If the value is not specified in the task, the value of environment variable RADKIT_ANSIBLE_CLIENT_CA_PATH will be used instead. |
|
Alternate path to client cert for RADKIT If the value is not specified in the task, the value of environment variable RADKIT_ANSIBLE_CLIENT_CERT_PATH will be used instead. |
|
Client certificate password in base64 If the value is not specified in the task, the value of environment variable RADKIT_ANSIBLE_CLIENT_PRIVATE_KEY_PASSWORD_BASE64 will be used instead. |
|
Alternate path to client key for RADKIT If the value is not specified in the task, the value of environment variable RADKIT_ANSIBLE_CLIENT_KEY_PATH will be used instead. |
|
Identity to authentiate with RADKit (xxxx@cisco.com). If the value is not specified in the task, the value of environment variable RADKIT_ANSIBLE_IDENTITY will be used instead. |
|
Send ping RPC messages to verify service connectivity and responsiveness Useful as a liveness check for monitoring systems Choices:
|
|
Radkit service serial If the value is not specified in the task, the value of environment variable RADKIT_ANSIBLE_SERVICE_SERIAL will be used instead. |
|
Update service capabilities information during the request Capabilities may change after service upgrades or configuration changes Automatically enabled when update_inventory is true Choices:
|
|
Refresh the device inventory for this service during information gathering Also refreshes service capabilities as a side effect May take additional time for services with large inventories Choices:
|
Examples
- name: Get RADKit service info
cisco.radkit.service_info:
service_serial: abc-def-ghi
register: service_info
delegate_to: localhost
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
List of capabilities of service Returned: success |
|
Returns True E2EE is currently in use when communicating with this Service Returned: success |
|
Returns True if this Service supports end-to-end encryption (E2EE) Returned: success |
|
Number of devices in inventory Returned: success |
|
The service ID / serial of service Returned: success |
|
Returns ‘up’ or ‘down’ depending on if the service is reachable Returned: success |
|
The version of service Returned: success |