set success code
diff --git a/tasks/main.yml b/tasks/main.yml
index ec534ca..5faca3d 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -21,6 +21,7 @@
     user: '{{ opdk_user_email }}'
     password: '{{ opdk_user_pass }}'
     method: POST
+    status_code: 200
     url: http://{{ public_mgmt_ip }}:{{ ms_ext_mgmt_port }}/v1/servers/{{ uuid }}
     body: 'reachable={{ reachable }}'
     HEADER_Content-type: 'application/x-www-form-urlencoded'