Ansible play
each time running vmanage_device_attachment it fails even if the device is becomes attached to the correct device template.
Testing device attachment with Ansible, versions:
controller version: 20.12.2
ansible core 2.15.11
python version = 3.9.18
viptela 0.3.10.
Every time running a simple playbook with device attachment it fails with
"url": "https://"url"/logout", "msg": "method_not_allowed", but the device is attached to a device template in the controller.
looks like it is the logout method which is failing: ansible/module_utils/viptela/viptela.py - line 135. It is using the request method and the default is GET. Tried locally to add "self.request('/logout', method="POST") and I have not received the same error anymore.
Only tested this controller version and for this playbook, but /logout might be a POST request regardless of controller version?
Ansible play each time running vmanage_device_attachment it fails even if the device is becomes attached to the correct device template.
Testing device attachment with Ansible, versions:
Every time running a simple playbook with device attachment it fails with "url": "https://"url"/logout", "msg": "method_not_allowed", but the device is attached to a device template in the controller.
looks like it is the logout method which is failing: ansible/module_utils/viptela/viptela.py - line 135. It is using the request method and the default is GET. Tried locally to add "self.request('/logout', method="POST") and I have not received the same error anymore. Only tested this controller version and for this playbook, but/logout might be a POST request regardless of controller version?