dellemc.powermax.dellemc_powermax_job (1.6.1) — module

Gets the detail information about a Job of a PowerMax/VMAX storage system

| "added in version" 1.4.0 of dellemc.powermax"

Authors: Rajshree Khare (@khareRajshree) <ansible.team@dell.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install dellemc.powermax:==1.6.1


Add to requirements.yml

  collections:
    - name: dellemc.powermax
      version: 1.6.1

Description

Gets details of a Job from a specified PowerMax/VMAX storage system.

The details listed are of an asynchronous task.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Get the details of a Job.
  dellemc_powermax_job:
    unispherehost: "{{unispherehost}}"
    universion: "{{universion}}"
    verifycert: "{{verifycert}}"
    user: "{{user}}"
    password: "{{password}}"
    job_id: "1570622921504"

Inputs

    
user:
    description:
    - The username of the Unisphere host.
    required: true
    type: str

job_id:
    description:
    - Job ID of an asynchronous task, used for getting details of a job.
    required: true
    type: str

password:
    description:
    - The password of the Unisphere host.
    required: true
    type: str

universion:
    choices:
    - 91
    - 92
    description:
    - Unisphere version, currently '91' and '92' versions are supported.
    required: false
    type: int

verifycert:
    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

unispherehost:
    description:
    - IP or FQDN of the Unisphere host
    required: true
    type: str

Outputs

Job_details:
  contains:
    completed_date_milliseconds:
      description: Date of job completion in milliseconds.
      type: int
    jobId:
      description: Unique identifier of the job.
      type: str
    last_modified_date:
      description: Last modified date of job.
      type: str
    last_modified_date_milliseconds:
      description: Last modified date of job in milliseconds.
      type: int
    name:
      description: Name of the job.
      type: str
    resourceLink:
      description: Resource link w.r.t Unisphere.
      type: str
    result:
      description: Job description
      type: str
    status:
      description: Status of the job.
      type: str
    task:
      description: Details about the job.
      type: list
    username:
      description: Unisphere username.
      type: str
  description: Details of the job.
  returned: When job exist.
  type: dict
changed:
  description: Whether or not the resource has changed.
  returned: always
  type: bool