2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
4 # Copyright (c) 2018 Venkata Harshavardhan Reddy Allu and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
11 # This is a simple fix to wait for the OSM services in
12 # the docker containers to start functioning as expected.
13 # TODO: Once healthchecks are added to the OSM
14 # container stack, use them to identify the status
15 # of the containers and modify this task.
16 - name: wait till the OSM services are ready
18 delegate_to: localhost
20 - name: register OpenStack as VIM
21 shell: ". {{ osmrc_file_dest }} ;
23 --name openstack-site \
25 --password {{ openrc_os_password }} \
27 --account_type openstack \
28 --auth_url {{ openrc_os_auth_url }} \
29 --config='{insecure: true}'"