Andrea Campanella | 45536f7 | 2017-02-23 15:20:06 +0100 | [diff] [blame] | 1 | --- |
2 | - hosts: 127.0.0.1 | ||||
3 | connection: local | ||||
4 | |||||
5 | tasks: | ||||
6 | - name: Add host entry for fabric | ||||
7 | uri: | ||||
8 | url: http://{{ rest_hostname }}:{{ rest_port }}/{{ rest_endpoint }} | ||||
9 | method: POST | ||||
10 | user: onos | ||||
11 | password: rocks | ||||
12 | body: '{{ rest_body }}' | ||||
13 | body_format: json |