hitachivantara.vspone_object.oneobject_node.hv_storage_fault_domain_facts module – Get storage fault domains from VSP One Object
Note
This module is part of the hitachivantara.vspone_object collection (version 1.0.0).
You might already have this collection installed if you are using the ansible package.
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 hitachivantara.vspone_object.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: hitachivantara.vspone_object.oneobject_node.hv_storage_fault_domain_facts.
New in hitachivantara.vspone_object 1.0.0
Synopsis
- This module queries storage fault domains from Hitachi VSP One Object. 
Requirements
The below requirements are needed on the host that executes this module.
- python >= 3.7 
Parameters
| Parameter | Comments | 
|---|---|
| Information required to establish a connection to the system. | |
| Cluster name of the system. | |
| Interval between retries of an HTTP request. | |
| Number of times to retry an HTTP request. | |
| Timeout for HTTP requests. | |
| Id for authentication. | |
| Secret for authentication. | |
| Username for authentication. | |
| Password for authentication. | |
| Region of the system. | |
| SSL configuration. | |
| Path to the CA certificates file. Default:  | |
| Path to the CA certificate file. Default:  | |
| Whether to check the hostname. Choices: 
 | |
| Path to the client certificate file. Default:  | |
| Path to the client key file. Default:  | |
| SSL cipher to use. Default:  | |
| SSL version to use. Default:  | |
| Whether to validate SSL certificates. Choices: 
 | |
| Request parameters for fetching storage fault domain. | |
| The unique identifier of the fault domain. | |
| The maximum amount of domains to return in a single response. | 
Attributes
| Attribute | Support | Description | 
|---|---|---|
| Support: full | Determines if the module should run in check mode. | 
Examples
- name: List storage fault domains
  hitachivantara.vspone_object.oneobject_node.hv_storage_fault_domain_facts:
    connection_info:
      http_request_timeout: 300
      http_request_retry_times: 3
      http_request_retry_interval_seconds: 5
      cluster_name: "your_cluster_name"
      region: "your_region"
      oneobject_node_username: "your_username"
      oneobject_node_userpass: "your_password"
      oneobject_node_client_id: "vsp-object-external-client"
- name: Get info of a storage fault domain
  hitachivantara.vspone_object.oneobject_node.hv_storage_fault_domain_facts:
    connection_info:
      http_request_timeout: 300
      http_request_retry_times: 3
      http_request_retry_interval_seconds: 5
      cluster_name: "your_cluster_name"
      region: "your_region"
      oneobject_node_username: "your_username"
      oneobject_node_userpass: "your_password"
      oneobject_node_client_id: "vsp-object-external-client"
    spec:
      id: "17fb8b61-e012-419d-b460-7863106dbe03"
- name: Get n number of storage fault domains
  hitachivantara.vspone_object.oneobject_node.hv_storage_fault_domain_facts:
    connection_info:
      http_request_timeout: 300
      http_request_retry_times: 3
      http_request_retry_interval_seconds: 5
      cluster_name: "your_cluster_name"
      region: "your_region"
      oneobject_node_username: "your_username"
      oneobject_node_userpass: "your_password"
      oneobject_node_client_id: "vsp-object-external-client"
    spec:
      page_size: 5
Returned Facts
Facts returned by this module are added/updated in the hostvars host facts and can be referenced by name just like any other host fact. They do not need to be registered in order to use them.
| Key | Description | 
|---|---|
| Summary of fault domains in the Hitachi VSP One Object system. Returned: success | |
| Token for pagination. Returned: success Sample:  | |
| List of storage components associated with the fault domain. Refer to hitachivantara.vspone_object.oneobject_node.hv_storage_components_facts for more details. Returned: success Sample:  | |
| List of storage fault domains. Returned: success | |
| The unique identifier of the fault domain. Returned: success Sample:  | |
| The name of the fault domain. Returned: success Sample:  | |
| The metadata tags associated with the fault domain. Returned: success Sample:  | 
