Add uwsgi role into local a-r-r and test placement
Change-Id: I2efc775d7e38019eb39ca85b6135b8506fc76c52
This commit is contained in:
parent
0f95ff232f
commit
7cb2d444c0
@ -67,3 +67,11 @@
|
||||
src: https://opendev.org/openstack/ansible-role-python_venv_build
|
||||
scm: git
|
||||
version: master
|
||||
- name: os_placement
|
||||
src: https://opendev.org/openstack/openstack-ansible-os_placement
|
||||
scm: git
|
||||
version: master
|
||||
- name: uwsgi
|
||||
src: https://opendev.org/openstack/ansible-role-uwsgi
|
||||
scm: git
|
||||
version: master
|
||||
|
@ -79,6 +79,12 @@ neutron_lbaas_agent
|
||||
neutron_metadata_agent
|
||||
neutron_server
|
||||
|
||||
[placement_all:children]
|
||||
placement_api
|
||||
|
||||
[placement_api]
|
||||
openstack1
|
||||
|
||||
[zun_api]
|
||||
openstack1
|
||||
|
||||
|
26
tests/test-install-placement.yml
Normal file
26
tests/test-install-placement.yml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
# Copyright 2019, VEXXHOST, 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: Deploy placement
|
||||
hosts: placement_all
|
||||
remote_user: root
|
||||
gather_facts: true
|
||||
any_errors_fatal: true
|
||||
roles:
|
||||
- role: "os_placement"
|
||||
placement_service_password: secrete
|
||||
placement_galera_password: secrete
|
||||
vars_files:
|
||||
- common/test-vars.yml
|
@ -26,6 +26,9 @@
|
||||
# Install Glance
|
||||
- import_playbook: common/test-install-glance.yml
|
||||
|
||||
# Install Placement
|
||||
- import_playbook: test-install-placement.yml
|
||||
|
||||
# Install Neutron
|
||||
- import_playbook: common/test-install-neutron.yml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user