blob: a98fc0297b7861171917d6768057cd67a59d42b8 [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 Bavier82d89832016-06-28 15:31:06 -040012 body: "{{ rest_body }}"
Andy Bavier92e3e002016-06-28 14:30:39 -040013 body_format: json