yadro.tatlin_uni.tatlin_sp_info module – Get storage SP configuration
Note
This module is part of the yadro.tatlin_uni 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 yadro.tatlin_uni
.
To use it in a playbook, specify: yadro.tatlin_uni.tatlin_sp_info
.
New in version 1.0.0: of yadro.tatlin_uni
Synopsis
Purpose of this module is to get storage SP configuration in a form of detailed inventory
This module supports check mode
Parameters
Parameter |
Comments |
---|---|
connection describes Tatlin Storage Processor (SP) connection configuration. Only session connection supported. Authorization is executed automatically with corresponding endpoint. ‘auth/login’ by default. Client receives x-auth-token and uses it for following requests. |
|
Tatlin REST API entrypoint. |
|
Tatlin user password. |
|
Tatlin REST API request timeout. Default: 60 |
|
Tatlin username to login. |
|
Responsible for SSL certificates validation. If set to False certificates won’t validated. Choices:
|
Examples
---
- name: Get Tatlin info
yadro.tatlin_uni.tatlin_sp_info:
connection: "{{ connection }}"
register: result
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Error details if raised Returned: on error |
|
Operation status message Returned: always |
|
Details of the system configuration Returned: on success Sample: {“dns”: {“search_list”: [“test.example.com”, “test.com”], “servers”: [“127.0.0.1”, “1.1.1.1”]}, “ldap”: {“base_dn”: “dc=example,dc=com”, “encryption”: “off”, “group_attribute”: “cn”, “host”: “192.168.0.10”, “lookup_user”: “cn=admin,dc=example,dc=com”, “port”: “389”, “search_filter”: “(memberof=cn=Users,dc=example,dc=com)”, “type”: “custom”, “user_attribute”: “cn”}, “ntp”: {“servers”: [“example.com”, “127.0.0.1”]}, “ports”: {“mgmt”: {“gateway”: “192.168.1.1”, “mac”: “None”, “mtu”: 1500, “nodes”: {“sp-0”: [{“ip”: “192.168.1.3”, “mask”: “24”, “status”: “online”}], “sp-1”: [{“ip”: “192.168.1.4”, “mask”: “24”, “status”: “online”}]}, “port_type”: “ip”, “virtual_address”: “192.168.1.2/24”, “wwpn”: “None”}, “p01”: {“gateway”: “”, “mac”: {“sp-0”: “00:00:00:00:00:00”, “sp-1”: “00:00:00:00:00:01”}, “mtu”: 1500, “nodes”: {“sp-0”: [{“ip”: “192.168.1.5”, “mask”: “24”, “status”: “online”}], “sp-1”: [{“ip”: “192.168.1.3”, “mask”: “24”, “status”: “online”}]}, “port_type”: “ip”, “virtual_address”: “None”, “wwpn”: “None”}}, “smtp”: {“address”: “127.0.0.1”, “encryption”: “tls”, “login”: “admin”, “port”: 25, “recipients”: [”first@recipient.com”, “second@recipient.com”], “sender”: “smtp@example.com”}, “snmp”: {“community”: “tatlin”, “servers”: [{“ip”: “example.com”, “port”: “162”}]}, “state_hardware”: “OK”, “state_security”: “WARNING”, “state_storage”: “ERROR”, “syslog”: {“recipients”: [{“address”: “127.0.0.1”, “audit”: false, “facility”: 10, “port”: “514”, “protocol”: “udp”, “severity”: “critical”}]}, “system_name”: “TU-SN-000000000000”, “system_version”: “2.6.0-151”} |