Note
This plugin is part of the dellemc.openmanage collection (version 3.0.0).
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
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
hostname string / required | Target IP address or hostname. | |
password string / required | Target user password. | |
port integer | Default: 443 | Target HTTPS port. |
username string / required | Target username. | |
webserver_port integer | 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. | |
webserver_timeout integer | 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. |
Note
check_mode
.--- - 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
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
error_info dictionary | on HTTP error | Details of the 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.'}} |
msg string | always | Overall status of the network web server configuration change. Sample: Successfully updated network web server configuration. |
webserver_configuration dictionary | success | Updated application network web server configuration. Sample: {'EnableWebServer': True, 'PortNumber': 443, 'TimeOut': 20} |
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/dellemc/openmanage/ome_application_network_webserver_module.html