Hello,
I am currently facing the following error, when trying to use the httpapi connection to connect to a Extreme Summit X460-48p switch which has web http enabled.
If I try to access the device via a browser and its IP address everything works like a charm, but not when I try to execute a playbook in AWX.
This is the error:
fatal: [extreme_x460_6]: FAILED! => {
188
“changed”: false,
189
“module_stderr”: “HTTP Error 404: Not Found”,
190
“module_stdout”: “”,
191
“msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”
192
}
This is my inventory:
exos_switches:
hosts:
extreme_x460_6:
ansible_host: XXX.XXX.XXX.XXX
ansible_connection: ansible.netcommon.httpapi
ansible_network_os: community.network.exos
ansible_httpapi_port: 80
ansible_user: “{{ extreme_switch_user }}”
ansible_httpapi_password: “{{ extreme_switch_pass }}”
This is my playbook: