java.remove_service.yml 274 Bytes
- hosts: "{{service}}"
  vars: 
    gw_url: 10.66.70.79:8080/gateway
  tasks:
     - uri:
        url: http://{{gw_url}}/service_control/unregister?ip={{inventory_hostname}}&context={{service}}
       register: result
     - debug:
        var: result
  remote_user: root