- Docs »
- dellemc.openmanage.ome_application_network_proxy – Updates the proxy configuration on OpenManage Enterprise
-
You are reading the latest community version of the Ansible documentation. Red Hat subscribers, select 2.9 in the version selection to the left for the most recent Red Hat release.
dellemc.openmanage.ome_application_network_proxy – Updates the proxy configuration on OpenManage Enterprise
Note
This plugin is part of the dellemc.openmanage collection (version 3.2.0).
To install it use: ansible-galaxy collection install dellemc.openmanage
.
To use it in a playbook, specify: dellemc.openmanage.ome_application_network_proxy
.
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 |
enable_authentication
boolean
|
|
Enable or disable proxy authentication.
If enable_authentication is true, proxy_username and proxy_password must be provided.
If enable_authentication is false, the proxy username and password are set to its default values.
|
enable_proxy
boolean
/ required
|
|
Enables or disables the HTTP proxy configuration.
If enable proxy is false, then the HTTP proxy configuration is set to its default value.
|
hostname
string
/ required
|
|
Target IP address or hostname.
|
ip_address
string
|
|
Proxy server address.
This option is mandatory when enable_proxy is true.
|
password
string
/ required
|
|
Target user password.
|
port
integer
|
Default:
443
|
Target HTTPS port.
|
proxy_password
string
|
|
Proxy server password.
This option is mandatory when enable_authentication is true.
|
proxy_port
integer
|
|
Proxy server's port number.
This option is mandatory when enable_proxy is true.
|
proxy_username
string
|
|
Proxy server username.
This option is mandatory when enable_authentication is true.
|
username
string
/ required
|
|
Target username.
|
---
- name: Update proxy configuration and enable authentication
dellemc.openmanage.ome_application_network_proxy:
hostname: "192.168.0.1"
username: "username"
password: "password"
enable_proxy: true
ip_address: "192.168.0.2"
proxy_port: 444
enable_authentication: true
proxy_username: "proxy_username"
proxy_password: "proxy_password"
- name: Reset proxy authentication
dellemc.openmanage.ome_application_network_proxy:
hostname: "192.168.0.1"
username: "username"
password: "password"
enable_proxy: true
ip_address: "192.168.0.2"
proxy_port: 444
enable_authentication: false
- name: Reset proxy configuration
dellemc.openmanage.ome_application_network_proxy:
hostname: "192.168.0.1"
username: "username"
password: "password"
enable_proxy: false
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 proxy configuration change.
Sample:
Successfully updated network proxy configuration.
|
proxy_configuration
dictionary
|
success |
Updated application network proxy configuration.
Sample:
{'EnableAuthentication': True, 'EnableProxy': True, 'IpAddress': '192.168.0.2', 'Password': None, 'PortNumber': 444, 'Username': 'root'}
|