openstack-ansible-os_zun/tests/test-install-zun.yml

34 lines
1.2 KiB
YAML

---
# Copyright 2018, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Installation and setup of Zun
hosts: zun_all
gather_facts: true
any_errors_fatal: true
remote_user: root
vars_files:
- common/test-vars.yml
roles:
- role: "os_zun"
zun_oslomsg_rpc_password: secrete
zun_galera_password: secrete
zun_service_password: secrete
zun_kuryr_service_password: secrete
zun_service_publicuri: "http://{{ hostvars[groups['keystone_all'][0]]['ansible_host'] }}:9517"
zun_service_adminuri: "http://{{ hostvars[groups['keystone_all'][0]]['ansible_host'] }}:9517"
zun_service_internaluri: "http://{{ hostvars[groups['keystone_all'][0]]['ansible_host'] }}:9517"
tags:
- "os-zun"