updated uri
diff --git a/tasks/main.yml b/tasks/main.yml index 1b243b5..c3f6a3f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -22,9 +22,7 @@ password: '{{ opdk_user_pass }}' method: POST status_code: 200 - return_content: no - body_format: raw + body_format: json url: http://{{ public_mgmt_ip }}:{{ ms_ext_mgmt_port }}/v1/servers/{{ uuid }} - body: 'reachable={{ reachable }}' - HEADER_Content-type: 'application/x-www-form-urlencoded' + body: "{ reachable: {{ reachable }}" when: uuid is defined \ No newline at end of file