You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the Aruba module is unable to parse inventory_hostname when an FQDN hostname is specified. It only seems to work when an alias is specified in the inventory file. For example
This works
all:
hosts:
aoscx_1:
ansible_host: 10.200.4.110
This does not work
all:
hosts:
foo.example.com:
bar.example.com:
The error message I get is
[WARNING]: The "arubanetworks.aoscx.aoscx" connection plugin has an improperly configured remote target value, forcing
"inventory_hostname" templated value instead of the string
"msg": "Could not get PYAOSCX Session: HTTPSConnectionPool(host='inventory_hostname', port=443): Max retries exceeded with url: /rest/v10.04/login (Caused by NameResolutionError(\"<urllib3.connection.HTTPSConnection object at 0x7f62b437ba30>: Failed to resolve 'inventory_hostname' ([Errno -2] Name or service not known)\"))"
It looks like the Aruba module is unable to parse
inventory_hostname
when an FQDN hostname is specified. It only seems to work when an alias is specified in the inventory file. For exampleThis works
This does not work
The error message I get is
Ansible control machine packages
The text was updated successfully, but these errors were encountered: