#  Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
#
#  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.
---

# Usage: fetch_password.yml
config_filename: "omnia_config.yml"
config_vaultname: .omnia_vault_key
min_length: 8
max_length: 30
fail_msg_mariadb_password: "maria_db password not given in correct format."
success_msg_mariadb_password: "mariadb_password validated"
success_msg_k8s_version: "Kubernetes Version Validated"
fail_msg_k8s_version: "Failed. Kubernetes Version is unsupported or incorrect in omnia_config.yml"
success_msg_k8s_cni: "Kubernetes CNI Validated"
fail_msg_k8s_cni: "Kubernetes CNI not correct."
success_msg_k8s_pod_network_cidr: "Kubernetes pod network cidr validated"
fail_msg_k8s_pod_network_cidr: "Kubernetes pod network cidr not given in correct format"
file_perm: '0755'
domain_name_length: '63'
domain_name_success_msg: "domain name successfully validated"
domain_name_fail_msg: "Failed. Incorrect format provided for domain name in omnia_config.yml"
realm_name_success_msg: "realm_name successfully validated"
realm_name_fail_msg: "Failed. Incorrect realm_name formate in omnia_config.yml"
success_msg_directory_manager_password: "directory_manager_password successfully validated"
fail_msg_directory_manager_password: "Failed. Incorrect format provided for directory_manager_password"
success_msg_ipa_admin_password: "ipa_admin_password successfully validated"
fail_msg_ipa_admin_password: "Failed. Incorrect format provided for ipa_admin_password"
input_config_failure_msg: "Input parameters cannot be empty"
login_node_required_success_msg: "Login_node_required successfully validated"
login_node_required_fail_msg: "Failed. login_node_required can be either true or false"

# Usage: validations.yml
skip_tag_fail_msg: "Can't skip both slurm and kubernetes"
manager_group_fail_msg: "manager group should contain exactly 1 node"
manager_group_success_msg: "manager group check passed"
compute_group_fail_msg: "compute group should contain atleast 1 node"
compute_group_success_msg: "compute group check passed"
disjoint_fail_msg: "manager and compute groups should be disjoint"
disjoint_success_msg: "manager and compute groups are disjoint"
login_node_group_fail_msg: "Login node group should contain atleast 1 node when login_node_required is true"
login_node_group_success_msg: "Login node group check passed when login_node_required is true"
nfs_node_group_fail_msg: "nfs_node group should contain exactly 1 node"
nfs_node_group_success_msg: "nfs_node group check passed"

# Usage: fetch_powervault_status.yml
tower_config_path: "{{ playbook_dir }}/control_plane/roles/webui_awx/files/.tower_cli.cfg"
tower_vault_path: "{{ playbook_dir }}/control_plane/roles/webui_awx/files/.tower_vault_key"
powervault_inventory_name: "powervault_me4_inventory"
powervault_group: "powervault_me4"