blob: 4bfd7896d13b53888b5cc6906132f850e38a6441 [file] [log] [blame]
---
- hosts: 127.0.0.1
connection: local
tasks:
- name: Add host entry for fabric
uri:
url: http://{{ rest_hostname }}:{{ rest_port }}/{{ rest_endpoint }}
method: POST
user: onos
password: rocks
body: "{{ '{{' }} lookup('file', '{{ files_dir }}/{{ rest_config.fn }}') {{ '}}' }}"
body_format: json