Spec-Zone.ru › Ansible

Модуль dellemc.openmanage.omevv_baseline_profile_info — получение сведений о базовом профиле OMEVV.

Примечание

Этот модуль входит в коллекцию dellemc.openmanage (версия 10.0.2).

Возможно, эта коллекция уже установлена, если вы используете пакет ansible. Она не входит в ansible-core. Чтобы проверить, установлена ли она, выполните ansible-galaxy collection list.

Для установки используйте: ansible-galaxy collection install dellemc.openmanage. Для использования этого модуля необходимы дополнительные требования; подробности см. в разделе Требования.

Чтобы использовать модуль в плейбуке, укажите: dellemc.openmanage.omevv_baseline_profile_info.

Добавлено в dellemc.openmanage 9.9.0

  • Краткое описание
  • Требования
  • Параметры
  • Атрибуты
  • Примечания
  • Примеры
  • Возвращаемые значения

Краткое описание

  • Этот модуль позволяет получать сведения обо всех базовых профилях OMEVV или об определённом профиле.

Требования

На узле, выполняющем этот модуль, должны быть соблюдены следующие требования.

  • python >= 3.9.6

Параметры

Параметр

Комментарии

ca_path

путь

Файл Privacy Enhanced Mail (PEM), содержащий сертификат CA для проверки.

hostname

строка / обязательный

IP-адрес или имя узла OpenManage Enterprise Modular.

name

строка

Имя базового профиля.

Если указано значение name, модуль получает сведения только об указанном базовом профиле.

port

целое число

HTTPS-порт OpenManage Enterprise.

По умолчанию: 443

timeout

целое число

Тайм-аут на уровне сокета в секундах.

По умолчанию: 30

validate_certs

логическое значение

Проверять ли сертификат SSL. — Если true, сертификаты SSL будут проверены. — Если false, сертификаты SSL проверяться не будут.

Варианты:

  • false
  • true ← (по умолчанию)

vcenter_password

строка

Пароль для OpenManage Enterprise Integration for VMware vCenter (OMEVV).

Если пароль не указан, используется переменная среды OMEVV_VCENTER_PASSWORD.

Пример: export OMEVV_VCENTER_PASSWORD=password

vcenter_username

строка

Имя пользователя для OpenManage Enterprise Integration for VMware vCenter (OMEVV).

Если имя пользователя не указано, используется переменная среды OMEVV_VCENTER_USERNAME.

Пример: export OMEVV_VCENTER_USERNAME=username

vcenter_uuid

строка

Универсальный уникальный идентификатор (UUID) vCenter.

Сведения об UUID vCenter можно получить с помощью модуля dellemc.openmanage.omevv_vcenter_info.

Если UUID не указан, используется переменная среды OMEVV_VCENTER_UUID.

Пример: export OMEVV_VCENTER_UUID=uuid

Атрибуты

Атрибут

Поддержка

Описание

check_mode

Поддержка: полная

Запускает задачу для проверки без выполнения действий на целевой машине.

Примечания

Примечание

  • Запускайте этот модуль в системе, имеющей прямой доступ к Dell OpenManage Enterprise.

Примеры

---
- name: Retrieve all baseline profile information.
  dellemc.openmanage.omevv_baseline_profile_info:
    hostname: "192.168.0.1"
    vcenter_uuid: "xxxxxx"
    vcenter_username: "username"
    vcenter_password: "password"
    ca_path: "path/to/ca_file"

- name: Retrieve specific baseline profile information using profile name.
  dellemc.openmanage.omevv_baseline_profile_info:
    hostname: "192.168.0.1"
    vcenter_uuid: "xxxxxx"
    vcenter_username: "username"
    vcenter_password: "password"
    ca_path: "path/to/ca_file"
    name: profile-1

Возвращаемые значения

Общие возвращаемые значения описаны здесь; ниже перечислены поля, относящиеся только к этому модулю:

Ключ

Описание

baseline_profile_info

список / элементы=словарь

Сведения о vCenter.

Возвращается: при успешном выполнении

Пример: [{"baselineType": null, "clusterGroups": [], "configurationRepoId": null, "configurationRepoName": null, "consoleAddress": "xx.xx.xx.xx", "consoleId": "xxxxx", "datacenter_standAloneHostsGroups": [], "dateCreated": "2024-10-16T10:25:29.786Z", "dateModified": null, "description": "Baseline-1 desc", "driftJobId": 1743, "driftJobName": "BP-Baseline-1-Host-Firmware-Drift-Detection", "driverRepoId": null, "driverRepoName": null, "firmwareRepoId": 1000, "firmwareRepoName": "Dell Default Catalog", "id": 1000, "lastSuccessfulUpdatedTime": "2024-10-16T10:27:35.212Z", "lastmodifiedBy": "Administrator@VSPHERE.LOCAL", "name": "Baseline-1", "status": "SUCCESSFUL", "version": "1.0.0-0"}, {"baselineType": "DATACENTER_NONCLUSTER", "clusterGroups": [], "configurationRepoId": null, "configurationRepoName": null, "consoleAddress": "xx.xx.xx.xx", "consoleId": "xxxxx", "datacenter_standAloneHostsGroups": [{"associated_datacenterID": "datacenter-1001", "associated_datacenterName": "Standalone Hosts-Test-DC", "omevv_groupID": 1002}], "dateCreated": "2024-10-16T12:38:56.581Z", "dateModified": null, "description": "Baseline - 2 description", "driftJobId": 1812, "driftJobName": "BP-Baseline - 2-Host-Firmware-Drift-Detection", "driverRepoId": null, "driverRepoName": null, "firmwareRepoId": 1000, "firmwareRepoName": "Dell Default Catalog", "id": 1001, "lastSuccessfulUpdatedTime": "2024-10-16T12:41:02.641Z", "lastmodifiedBy": "Administrator@VSPHERE.LOCAL", "name": "Baseline - 2", "status": "SUCCESSFUL", "version": "1.0.0-0"}]

error_info

словарь

Сведения об ошибке HTTP.

Возвращается: при ошибке HTTP

Пример: {"error": {"@Message.ExtendedInfo": [{"Message": "Unable to process the request because an error occurred.", "MessageArgs": [], "MessageId": "GEN1234", "RelatedProperties": [], "Resolution": "Retry the operation. If the issue persists, contact your system administrator.", "Severity": "Critical"}], "code": "Base.1.0.GeneralError", "message": "A general error has occurred. See ExtendedInfo for more information."}}

msg

строка

Состояние операции получения сведений о базовом профиле.

Возвращается: всегда

Пример: "Successfully retrieved the baseline profile information."

Авторы

  • Kritika Bhateja (@Kritika-Bhateja-03)

Ссылки на коллекцию

  • Отслеживание проблем
  • Домашняя страница
  • Репозиторий (исходный код)

© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/projects/ansible/latest/collections/dellemc/openmanage/omevv_baseline_profile_info_module.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API