dellemc.openmanage.ome_application_network_webserver module – Updates the Web server configuration on OpenManage Enterprise
Note
This module is part of the dellemc.openmanage collection (version 4.4.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install dellemc.openmanage
.
To use it in a playbook, specify: dellemc.openmanage.ome_application_network_webserver
.
New in version 2.1.0: of dellemc.openmanage
Requirements
The below requirements are needed on the host that executes this module.
python >= 2.7.5
Parameters
Parameter |
Comments |
---|---|
OpenManage Enterprise or OpenManage Enterprise Modular IP address or hostname. |
|
OpenManage Enterprise or OpenManage Enterprise Modular password. |
|
OpenManage Enterprise or OpenManage Enterprise Modular HTTPS port. Default: 443 |
|
OpenManage Enterprise or OpenManage Enterprise Modular username. |
|
Port number used by OpenManage Enterprise to establish a secure server connection. WARNING A change in port number results in a loss of connectivity in the current session for more than a minute. |
|
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. |
Notes
Note
Run this module from a system that has direct access to DellEMC OpenManage Enterprise.
This module supports
check_mode
.
Examples
---
- 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
- name: Update session time out
dellemc.openmanage.ome_application_network_webserver:
hostname: "192.168.0.1"
username: "username"
password: "password"
webserver_timeout: 30
- name: Update web server port
dellemc.openmanage.ome_application_network_webserver:
hostname: "192.168.0.1"
username: "username"
password: "password"
webserver_port: 8443
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
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.”}} |
|
Overall status of the network web server configuration change. Returned: always Sample: “Successfully updated network web server configuration.” |
|
Updated application network web server configuration. Returned: success Sample: {“EnableWebServer”: true, “PortNumber”: 443, “TimeOut”: 20} |
Authors
Jagadeesh N V(@jagadeeshnv)