diff --git a/tests/ansible-role-requirements.yml b/tests/ansible-role-requirements.yml index 479bcf6..402d984 100644 --- a/tests/ansible-role-requirements.yml +++ b/tests/ansible-role-requirements.yml @@ -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 diff --git a/tests/inventory b/tests/inventory index fc45cb9..4d56b5e 100644 --- a/tests/inventory +++ b/tests/inventory @@ -79,6 +79,12 @@ neutron_lbaas_agent neutron_metadata_agent neutron_server +[placement_all:children] +placement_api + +[placement_api] +openstack1 + [zun_api] openstack1 diff --git a/tests/test-install-placement.yml b/tests/test-install-placement.yml new file mode 100644 index 0000000..f0a1729 --- /dev/null +++ b/tests/test-install-placement.yml @@ -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 diff --git a/tests/test.yml b/tests/test.yml index 73431c1..17ba6ed 100644 --- a/tests/test.yml +++ b/tests/test.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