Updated to add message processors to environment
diff --git a/tasks/main.yml b/tasks/main.yml
index b3b15fc..9b74f6c 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -2,9 +2,9 @@
# tasks file for /Users/carlosfrias/apigee-workspace/opdk-workspace/apigee-opdk-setup-message-processor-bind-environment
- name: Bind message processor to environment {{ env_name }}
uri:
+ url: http://{{ local_mgmt_ip }}:8080/v1/organizations/{{ org_name }}/environments/{{ env_name }}/servers
+ method: POST
user: '{{ opdk_user_email }}'
password: '{{ opdk_user_pass }}'
- method: POST
body: action=add&uuid={{ edge_mp_self.uUID }}
- url: http://{{ local_mgmt_ip }}:8080/v1/o/{{ org_name }}/e/{{ env_name }}