dellemc.openmanage.ome_firmware_baseline_info (9.1.0) — module

Retrieves baseline details from OpenManage Enterprise

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

Authors: Sajna Shetty(@Sajna-Shetty)

Install collection

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


Add to requirements.yml

  collections:
    - name: dellemc.openmanage
      version: 9.1.0

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"
    ca_path: "/path/to/ca_cert.pem"
  • 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"
    ca_path: "/path/to/ca_cert.pem"
    baseline_name: "baseline_name"

Inputs

    
port:
    default: 443
    description: OpenManage Enterprise or OpenManage Enterprise Modular HTTPS port.
    type: int

ca_path:
    description:
    - The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for
      the validation.
    type: path
    version_added: 5.0.0
    version_added_collection: dellemc.openmanage

timeout:
    default: 30
    description: The socket level timeout in seconds.
    type: int
    version_added: 5.0.0
    version_added_collection: dellemc.openmanage

hostname:
    description: OpenManage Enterprise or OpenManage Enterprise Modular IP address or
      hostname.
    required: true
    type: str

password:
    description:
    - OpenManage Enterprise or OpenManage Enterprise Modular password.
    - If the password is not provided, then the environment variable C(OME_PASSWORD) is
      used.
    - 'Example: export OME_PASSWORD=password'
    required: true
    type: str

username:
    description:
    - OpenManage Enterprise or OpenManage Enterprise Modular username.
    - If the username is not provided, then the environment variable C(OME_USERNAME) is
      used.
    - 'Example: export OME_USERNAME=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

validate_certs:
    default: true
    description:
    - If C(false), the SSL certificates will not be validated.
    - Configure C(false) only on personally controlled sites where self-signed certificates
      are used.
    - Prior to collection version C(5.0.0), the I(validate_certs) is C(false) by default.
    type: bool
    version_added: 5.0.0
    version_added_collection: dellemc.openmanage

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