Solace Cloud Modules
Some Solace Cloud modules require the Solace Cloud API Token as an argument. This can either be provided in the inventory file or as an environment variable for example.
See a detailed discussion here: Inventory File for a Solace Cloud Account.
Setting Solace Cloud Home Cloud Region
Ansible Solace currently supports two Home Cloud Regions: us & au.
You can either use an environment variable to set the home region for all solace cloud modules and/or you can specify an additional parameter module by module.
Environment Variable: ANSIBLE_SOLACE_SOLACE_CLOUD_HOME , values: [“US”, “AU”].
Module parameter:
solace_cloud_home: choices=[‘us’, ‘au’]
The logic of choosing the home region is as follows:
- default: US
- if module parameter solace_cloud_home is set, use value from module parameter
- else
- check if env var is set and use value from env
- else
- use default
Module Reference
- solace_cloud_account_gather_facts – gather account services facts
- solace_cloud_client_profile – client profile for Solace Cloud
- solace_cloud_get_facts – get Solace Cloud service facts
- solace_cloud_get_service – get Solace Cloud service details
- solace_cloud_get_service_hostnames – get all service hostnames
- solace_cloud_get_services – get all services in Solace Cloud
- solace_cloud_service – manage Solace Cloud services
- solace_cloud_service_hostname – manage service hostnames
- solace_cloud_service_hostnames – list of hostnames on a service