dellemc / dellemc.openmanage / 2.1.5 / module / ome_firmware_baseline Create a firmware baseline on OpenManage Enterprise. | "added in version" 2.9.10 of dellemc.openmanage" Authors: Jagadeesh N V(@jagadeeshnv) preview | supported by communitydellemc.openmanage.ome_firmware_baseline (2.1.5) — module
Install with ansible-galaxy collection install dellemc.openmanage:==2.1.5
collections: - name: dellemc.openmanage version: 2.1.5
This module creates a baseline on OpenManage Enterprise.
--- - name: create baseline for device Ids. dellemc.openmanage.ome_firmware_baseline: hostname: "192.168.0.1" username: "username" password: "password" baseline_name: "baseline_name" baseline_description: "baseline_description" catalog_name: "catalog_name" device_ids: - 1010 - 2020
- name: create baseline for servicetags. dellemc.openmanage.ome_firmware_baseline: hostname: "192.168.0.1" username: "username" password: "password" baseline_name: "baseline_name" baseline_description: "baseline_description" catalog_name: "catalog_name" device_service_tags: - "SVCTAG1" - "SVCTAG2"
- name: create baseline for device groups. dellemc.openmanage.ome_firmware_baseline: hostname: "192.168.0.1" username: "username" password: "password" baseline_name: "baseline_name" baseline_description: "baseline_description" catalog_name: "catalog_name" device_group_names: - "Group1" - "Group2"
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 is_64_bit: default: true description: - Indicate if 64 bit is supported. type: bool device_ids: description: - list of device ids - I(device_ids) is mutually exclusive with I(device_service_tags) and I(device_group_names). elements: int type: list catalog_name: description: - Name of the catalog associated with the baseline. type: str baseline_name: description: - Name for the baseline being created. required: true type: str downgrade_enabled: default: true description: - Indicates if a downgrade is allowed or not. type: bool device_group_names: description: - list of group names - I(device_group_names) is mutually exclusive with I(device_ids) and I(device_service_tags). elements: str type: list device_service_tags: description: - list of service tags - I(device_service_tags) is mutually exclusive with I(device_ids) and I(device_group_names). elements: str type: list baseline_description: description: - Description for the baseline being created. type: str
baseline_status: description: Details of the baseline status. returned: success sample: CatalogId: 123 Description: BASELINE DESCRIPTION DeviceComplianceReports: [] DowngradeEnabled: true Id: 0 Is64Bit: true Name: my_baseline RepositoryId: 123 RepositoryName: catalog123 RepositoryType: HTTP Targets: - Id: 10083 Type: Id: 1000 Name: DEVICE - Id: 10076 Type: Id: 1000 Name: DEVICE TaskId: 11235 TaskStatusId: 0 type: dict error_info: description: Details of http error. returned: on http error sample: error: '@Message.ExtendedInfo': - Message: Unable to retrieve baseline list either because the device ID(s) entered are invalid Resolution: Make sure the entered device ID(s) are valid and retry the operation. Severity: Critical code: Base.1.0.GeneralError message: A general error has occurred. See ExtendedInfo for more information. type: dict msg: description: Overall status of the firmware baseline creation returned: always sample: Successfully created task for creating Baseline type: str