dellemc.powerscale.dellemc_powerscale_node (1.4.0) — module

Get node info of DellEMC PowerScale storage

| "added in version" 1.2.0 of dellemc.powerscale"

Authors: Ganesh Prabhu(@prabhg5) <ansible.team@dell.com>>

preview | supported by community

Install collection

Install with ansible-galaxy collection install dellemc.powerscale:==1.4.0


Add to requirements.yml

  collections:
    - name: dellemc.powerscale
      version: 1.4.0

Description

Get information of a node belonging to the PowerScale cluster


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get node info of the PowerScale cluster node
  dellemc_powerscale_node:
    onefs_host: "{{onefs_host}}"
    verify_ssl: "{{verify_ssl}}"
    api_user: "{{api_user}}"
    api_password: "{{api_password}}"
    node_id: "{{cluster_node_id}}"
    state: "present"

Inputs

    
state:
    choices:
    - absent
    - present
    description:
    - Defines whether the node should exist or not.
    required: true
    type: str

node_id:
    description:
    - The Logical node Number of a PowerScale cluster node
    required: true
    type: int

port_no:
    default: '8080'
    description:
    - Port number of the PowerScale cluster.It defaults to 8080 if not specified.
    required: false
    type: str

api_user:
    description:
    - username of the PowerScale cluster.
    required: true
    type: str

onefs_host:
    description:
    - IP address or FQDN of the PowerScale cluster.
    required: true
    type: str

verify_ssl:
    choices:
    - true
    - false
    description:
    - boolean variable to specify whether to validate SSL certificate or not.
    - True - indicates that the SSL certificate should be verified.
    - False - indicates that the SSL certificate should not be verified.
    required: true
    type: bool

api_password:
    description:
    - the password of the PowerScale cluster.
    required: true
    type: str

Outputs

changed:
  description: Whether or not the resource has changed.
  returned: always
  type: bool
cluster_node_details:
  contains:
    id:
      description: Node id (device number) of a node.
      type: int
    lnn:
      description: Logical Node Number (LNN) of a node.
      type: int
    partitions:
      contains:
        count:
          description: Count of how many partitions are included.
          type: int
      description: Node partition information.
      type: complex
  description: The cluster node details.
  returned: When cluster node exists
  type: complex