blob: 0484675cda0a983d7e3160a768aad1b1551ef31b [file] [log] [blame]
Scott Baker46831592016-06-20 17:32:04 -07001---
2- hosts: 127.0.0.1
3 connection: local
Scott Baker46831592016-06-20 17:32:04 -07004
5 tasks:
Andy Bavierefe93622016-06-27 11:41:09 -04006 - name: Add host entry for fabric
Andy Bavier92e3e002016-06-28 14:30:39 -04007 uri:
8 url: http://{{ rest_hostname }}:{{ rest_port }}/{{ rest_endpoint }}
9 method: POST
10 user: onos
11 password: rocks
Andy Bavierebf204c2016-06-28 15:46:26 -040012 body: '{{ rest_body }}'
Andy Bavier92e3e002016-06-28 14:30:39 -040013 body_format: json