dellemc.openmanage.ome_application_network_webserver (2.1.5) — module

Updates the Web server configuration on OpenManage Enterprise.

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

Authors: Jagadeesh N V(@jagadeeshnv)

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 allows to configure a network web server on OpenManage Enterprise.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
- name: Update web server port and session time out.
  dellemc.openmanage.ome_application_network_webserver:
    hostname: "192.168.0.1"
    username: "username"
    password: "password"
    webserver_port: 9443
    webserver_timeout: 20
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Update session time out
  dellemc.openmanage.ome_application_network_webserver:
    hostname: "192.168.0.1"
    username: "username"
    password: "password"
    webserver_timeout: 30
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Update web server port.
  dellemc.openmanage.ome_application_network_webserver:
    hostname: "192.168.0.1"
    username: "username"
    password: "password"
    webserver_port: 8443

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

webserver_port:
    description:
    - Port number used by OpenManage Enterprise to establish a secure server connection.
    - I(WARNING) A change in port number results in a loss of connectivity in the current
      session for more than a minute.
    type: int

webserver_timeout:
    description:
    - The duration in minutes after which a web user interface session is automatically
      disconnected.
    - If a change is made to the session timeout, it will only take effect after the next
      log in.
    type: int

Outputs

error_info:
  description: Details of the HTTP error.
  returned: on HTTP error
  sample:
    error:
      '@Message.ExtendedInfo':
      - Message: Unable to complete the request because the input value for  PortNumber  is
          missing or an invalid value is entered.
        MessageArgs:
        - PortNumber
        MessageId: CGEN6002
        RelatedProperties: []
        Resolution: Enter a valid value 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 network web server configuration change.
  returned: always
  sample: Successfully updated network web server configuration.
  type: str
webserver_configuration:
  description: Updated application network web server configuration.
  returned: success
  sample:
    EnableWebServer: true
    PortNumber: 443
    TimeOut: 20
  type: dict