From 0cd68942816489fd75e4ca7c38a52f429ee20b6e Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Mon, 15 Feb 2021 19:33:19 +0200 Subject: [PATCH] Remove pre-flight checks Change-Id: I73d498dc3143d3c29df426676ffbe93ef494db31 --- tasks/main.yml | 4 -- tasks/zun_pre_flight.yml | 129 --------------------------------------- 2 files changed, 133 deletions(-) delete mode 100644 tasks/zun_pre_flight.yml diff --git a/tasks/main.yml b/tasks/main.yml index e20333f..2934a9e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -24,10 +24,6 @@ tags: - always -- import_tasks: zun_pre_flight.yml - tags: - - always - - import_tasks: zun_pre_install.yml tags: - zun-install diff --git a/tasks/zun_pre_flight.yml b/tasks/zun_pre_flight.yml deleted file mode 100644 index 6c3b98f..0000000 --- a/tasks/zun_pre_flight.yml +++ /dev/null @@ -1,129 +0,0 @@ ---- -# 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: Check for zun groups - fail: - msg: >- - The group `{{ item }}` is undefined. Before moving forward - set this group within inventory with at least one host. - when: - - (groups[item] | length) < 1 - with_items: - - "zun_api" - - "zun_compute" - -- name: Check for rabbitmq_all group - fail: - msg: >- - The group `rabbitmq_all` is undefined. Before moving forward - set this group within inventory with at least one host. - when: - - (groups['rabbitmq_all'] | length) < 1 - -- name: Check for oslomsg_rpc_password - fail: - msg: >- - The variable `zun_oslomsg_rpc_password` is undefined. Before moving forward - set this variable on the CLI or in a variable file. - when: - - zun_oslomsg_rpc_password is undefined - -- name: Check for galera_all group - fail: - msg: >- - The group `galera_all` is undefined. Before moving forward - set this group within inventory with at least one host. - when: - - (groups['galera_all'] | length) < 1 - -- name: Check for galera root user - fail: - msg: >- - The variable `galera_root_user` is undefined. Before moving forward - set this variable on the CLI or in a variable file. - when: - - galera_root_user is undefined - -- name: Check for galera root password - fail: - msg: >- - The variable `galera_root_password` is undefined. Before moving forward - set this variable on the CLI or in a variable file. - when: - - galera_root_password is undefined - -- name: Check for zun db password - fail: - msg: >- - The variable `zun_galera_password` is undefined. Before moving forward - set this variable on the CLI or in a variable file. - when: - - zun_galera_password is undefined - -- name: Check for zun service password - fail: - msg: >- - The variable `zun_galera_password` is undefined. Before moving forward - set this variable on the CLI or in a variable file. - when: - - zun_galera_password is undefined - -- name: Check for zun kuryr service password - fail: - msg: >- - The variable `zun_kuryr_service_password` is undefined. Before moving forward - set this variable on the CLI or in a variable file. - when: - - zun_kuryr_service_password is undefined - -- name: Check for keystone service admin url - fail: - msg: >- - The variable `keystone_service_adminurl` is undefined. Before moving - forward set this variable on the CLI or in a variable file. - when: - - keystone_service_adminurl is undefined - -- name: Check for keystone service admin user name - fail: - msg: >- - The variable `keystone_admin_user_name` is undefined. Before moving - forward set this variable on the CLI or in a variable file. - when: - - keystone_admin_user_name is undefined - -- name: Check for keystone service admin password - fail: - msg: >- - The variable `keystone_auth_admin_password` is undefined. Before moving - forward set this variable on the CLI or in a variable file. - when: - - keystone_auth_admin_password is undefined - -- name: Check for keystone service admin project name - fail: - msg: >- - The variable `keystone_admin_tenant_name` is undefined. Before moving - forward set this variable on the CLI or in a variable file. - when: - - keystone_admin_tenant_name is undefined - -- name: Check for keystone service admin project name - fail: - msg: >- - The variable `keystone_service_adminuri_insecure` is undefined. Before - moving forward set this variable on the CLI or in a variable file. - when: - - keystone_service_adminuri_insecure is undefined