dellemc.openmanage.ome_firmware_baseline_info (2.1.5) — module

Retrieves baseline details from OpenManage Enterprise.

| "added in version" 2.9.10 of dellemc.openmanage"

Authors: Sajna Shetty(@Sajna-Shetty)

preview | supported by community

Install collection

Install with ansible-galaxy collection install dellemc.openmanage:==2.1.5


Add to requirements.yml

  collections:
    - name: dellemc.openmanage
      version: 2.1.5

Description

This module retrieves the list and details of all the baselines on OpenManage Enterprise.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
- name: Retrieve details of all the available firmware baselines.
  dellemc.openmanage.ome_firmware_baseline_info:
    hostname: "192.168.0.1"
    username: "username"
    password: "password"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve details of a specific firmware baseline identified by its baseline name.
  dellemc.openmanage.ome_firmware_baseline_info:
    hostname: "192.168.0.1"
    username: "username"
    password: "password"
    baseline_name: "baseline_name"

Inputs

    
port:
    default: 443
    description: Target HTTPS port.
    type: int

hostname:
    description: Target IP address or hostname.
    required: true
    type: str

password:
    description: Target user password.
    required: true
    type: str

username:
    description: Target username.
    required: true
    type: str

baseline_name:
    description: Name of the baseline.If I(baseline_name) is not provided, all the available
      firmware baselines are returned.
    type: str

Outputs

baseline_info:
  description: Details of the baselines.
  returned: success
  sample:
    '@odata.id': /api/UpdateService/Baselines(239)
    '@odata.type': '#UpdateService.Baselines'
    CatalogId: 22
    ComplianceSummary:
      ComplianceStatus: CRITICAL
      NumberOfCritical: 1
      NumberOfDowngrade: 0
      NumberOfNormal: 0
      NumberOfWarning: 0
    Description: baseline_description
    DeviceComplianceReports@odata.navigationLink: /api/UpdateService/Baselines(239)/DeviceComplianceReports
    DowngradeEnabled: true
    Id: 239
    Is64Bit: true
    LastRun: '2020-05-22 16:42:40.307'
    Name: baseline_name
    RepositoryId: 12
    RepositoryName: HTTP DELL
    RepositoryType: DELL_ONLINE
    Targets:
    - Id: 10342
      Type:
        Id: 1000
        Name: DEVICE
    TaskId: 41415
    TaskStatusId: 2060
  type: dict
msg:
  description: Overall baseline information.
  returned: on error
  sample: Successfully fetched firmware baseline information.
  type: str