blob: 44a43f1913db65d8902fe48eed769beddfc154d8 [file] [log] [blame]
---
- hosts: 127.0.0.1
connection: local
tasks:
# Couldn't figure out how to get uri module to accept JSON in a string
- name: Call Fabric REST API
command: curl -sS --user onos:rocks -X POST -HContent-Type:application/json -d '{{ rest_json }}' http://{{ rest_hostname }}:{{ rest_port }}/{{ rest_endpoint }}