dellemc.powermax.job (3.0.0) — 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>

Install collection

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


Add to requirements.yml

  collections:
    - name: dellemc.powermax
      version: 3.0.0

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

timeout:
    default: 120
    description:
    - Time after which the connection will get terminated.
    - It is to be mentioned in seconds.
    type: int

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

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

verifycert:
    description:
    - Specifies system whether to validate SSL certificate or not, Values can be True
      or False or a custom file path for SSL certificate with .pem extension or .cer with
      base 64 encoding.
    required: true
    type: str

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