blob: 147367c08a16a429cb86069a2fc2794b238bcaa8 [file] [log] [blame]
Zack Williamsfc6b64b2017-12-22 15:57:50 -07001---
Matteo Scandolo3896c472017-08-01 13:31:42 -07002# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
Zack Williamsa2763112017-01-03 11:38:38 -070016# xos-ready/tasks/main.yml
17
Zack Williamsfc6b64b2017-12-22 15:57:50 -070018- name: Wait for XOS Chameleon to be ready after service onboarding
19 uri:
20 url: "http://localhost:{{ xos_chameleon_port }}/xosapi/v1/modeldefs"
21 method: GET
22 status_code: 200
23 return_content: yes
24 register: xosready_chameleon
25 until: xosready_chameleon.content.find("items") != -1
26 retries: 40
27 delay: 15
28
29- name: Wait for XOS TOSCA engine to be ready after service onboarding
30 uri:
31 url: "{{ xos_tosca_url }}"
32 method: GET
33 status_code: 200
34 retries: 40
35 delay: 15
36