aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/infra_deploy.yml
diff options
context:
space:
mode:
authorStepan Andrushko <stepanx.andrushko@intel.com>2018-01-11 19:51:45 +0200
committerStepan Andrushko <stepanx.andrushko@intel.com>2018-01-24 15:02:27 +0200
commit6053ec68c8fe13ab154ed22f7cffd2e256d1e982 (patch)
treebdf323ecf3e745715b1d3de5330cbdbdf5cb3d28 /ansible/infra_deploy.yml
parent94d3b53e1e079a6f0b2ec1e5106e19067a0c00a9 (diff)
Check RS for virtualized OpenStack/Yardstick
Draft for env requirements reading and validation Script can be run from tools/virt_ci_rampup.sh. First requirement file is parsed/stored. This file must be created in ahead and named as 'infra_deploy.yaml'. Then separate ansible role is used to validate resources. Ansible-role fails if there is not enough resources on the host for cpu, ram, disk space. JIRA: YARDSTICK-945 Change-Id: I86cd4bdc963de3aa51392fc73a239cbd426bc64a Signed-off-by: Stepan Andrushko <stepanx.andrushko@intel.com>
Diffstat (limited to 'ansible/infra_deploy.yml')
-rw-r--r--ansible/infra_deploy.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/ansible/infra_deploy.yml b/ansible/infra_deploy.yml
new file mode 100644
index 000000000..10f53fbad
--- /dev/null
+++ b/ansible/infra_deploy.yml
@@ -0,0 +1,18 @@
+# Copyright (c) 2018 Intel Corporation.
+#
+# 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.
+---
+- hosts: jumphost
+
+ roles:
+ - infra_check_requirements