|
@@ -33,16 +33,20 @@ common_packages:
|
|
- net-tools
|
|
- net-tools
|
|
- python3-netaddr
|
|
- python3-netaddr
|
|
- yum-plugin-versionlock
|
|
- yum-plugin-versionlock
|
|
|
|
+ - dos2unix
|
|
|
|
|
|
# Usage: pre_requisite.yml
|
|
# Usage: pre_requisite.yml
|
|
internet_delay: 0
|
|
internet_delay: 0
|
|
internet_timeout: 10
|
|
internet_timeout: 10
|
|
hostname: github.com
|
|
hostname: github.com
|
|
port_no: 22
|
|
port_no: 22
|
|
-os_name: CentOS
|
|
|
|
-os_version: '8.3'
|
|
|
|
|
|
+os_supported_centos: "centos"
|
|
|
|
+os_supported_rocky: "rocky"
|
|
|
|
+os_supported_centos_version: "8.3"
|
|
|
|
+os_supported_rocky_version: "8.4"
|
|
|
|
+fail_os_status: "Unsupported OS or OS version. OS should be {{ os_supported_centos }} {{ os_supported_centos_version }} or {{ os_supported_rocky }} {{ os_supported_rocky_version }}"
|
|
|
|
+success_os_status: "Management Station OS validated"
|
|
internet_status: "Failed. No Internet connection. Make sure network is up."
|
|
internet_status: "Failed. No Internet connection. Make sure network is up."
|
|
-os_status: "Unsupported OS or OS version. OS should be {{ os_name }} and Version should be {{ os_version }} or more"
|
|
|
|
selinux_status: "SElinux is not disabled. Disable it in /etc/sysconfig/selinux and reboot the system"
|
|
selinux_status: "SElinux is not disabled. Disable it in /etc/sysconfig/selinux and reboot the system"
|
|
ansible_python_version_status: "For CentOS 8.3, python bindings of firewalld, dnf, selinux are not available if python is installed from source and not from dnf. So please make sure python3.6 is installed using dnf. And ansible uses the python version 3.6 installed using dnf"
|
|
ansible_python_version_status: "For CentOS 8.3, python bindings of firewalld, dnf, selinux are not available if python is installed from source and not from dnf. So please make sure python3.6 is installed using dnf. And ansible uses the python version 3.6 installed using dnf"
|
|
python_version_support: '3.6.8'
|
|
python_version_support: '3.6.8'
|
|
@@ -100,12 +104,15 @@ success_msg_k8s_pod_network_cidr: "Appliance k8s pod network cidr validated"
|
|
fail_msg_k8s_pod_network_cidr: "Failed. Incorrect appliance k8s pod network cidr provided in base_vars.yml"
|
|
fail_msg_k8s_pod_network_cidr: "Failed. Incorrect appliance k8s pod network cidr provided in base_vars.yml"
|
|
success_awx_organization: "awx organization validated"
|
|
success_awx_organization: "awx organization validated"
|
|
success_provision_method: "Provision method validated"
|
|
success_provision_method: "Provision method validated"
|
|
-fail_provision_method: "Failed. Provision method can either be set to idrac or pxe"
|
|
|
|
|
|
+fail_provision_method: "Failed. provision_method can either be set to idrac or PXE"
|
|
|
|
+stateless_provision_fail_msg: "Failed. provision_method should be PXE when provision_state is stateless"
|
|
fail_awx_organization: "Failed. Incorrect format in awx organization"
|
|
fail_awx_organization: "Failed. Incorrect format in awx organization"
|
|
success_timezone_msg: "timezone validated"
|
|
success_timezone_msg: "timezone validated"
|
|
fail_timezone_msg: "Failed. Incorrect timezone provided. Please check the file timezone.txt in control_plane/roles/control_plane_common/files/ folder"
|
|
fail_timezone_msg: "Failed. Incorrect timezone provided. Please check the file timezone.txt in control_plane/roles/control_plane_common/files/ folder"
|
|
fail_language: "Failed. Only en-US(english) language supported"
|
|
fail_language: "Failed. Only en-US(english) language supported"
|
|
-invalid_iso_file_path: "Incorrect iso_file_path provided in base_vars.yml."
|
|
|
|
|
|
+invalid_iso_file_path: "Invalid iso_file_path provided in base_vars.yml. Make sure iso_file_path contains value mentioned in provision_os."
|
|
|
|
+missing_iso_file_path: "Incorrect iso_file_path provided in base_vars.yml. Make sure iso file is present in the provided iso_file_path."
|
|
|
|
+valid_iso_file_path: "iso_file_path validated"
|
|
ethernet_switch_support_success_msg: "ethernet_switch_support validated"
|
|
ethernet_switch_support_success_msg: "ethernet_switch_support validated"
|
|
ethernet_switch_support_fail_msg: "Failed. ethernet_switch_support only accepts boolean values true or false"
|
|
ethernet_switch_support_fail_msg: "Failed. ethernet_switch_support only accepts boolean values true or false"
|
|
ib_switch_support_success_msg: "ib_switch_support validated"
|
|
ib_switch_support_success_msg: "ib_switch_support validated"
|
|
@@ -129,6 +136,10 @@ success_msg_ib: "Infiniband variables validated"
|
|
fail_msg_ib: "Failed. Please provide all the InfiniBand related parameters in base_vars.yml"
|
|
fail_msg_ib: "Failed. Please provide all the InfiniBand related parameters in base_vars.yml"
|
|
success_msg_lease_time: "Default lease time validated"
|
|
success_msg_lease_time: "Default lease time validated"
|
|
fail_msg_lease_time: "Failed. Please provide a valid default lease time"
|
|
fail_msg_lease_time: "Failed. Please provide a valid default lease time"
|
|
|
|
+provision_os_success_msg: "provision_os validated"
|
|
|
|
+provision_os_fail_msg: "Failed. Incorrect provision_os selected. Supported OS are {{ os_supported_centos }} or {{ os_supported_rocky }}"
|
|
|
|
+provision_state_success_msg: "provision_state validated"
|
|
|
|
+provision_state_fail_msg: "Failed. Incorrect provision_state selected. Supported values are stateful or stateless"
|
|
|
|
|
|
# Usage: fetch_sm_inputs.yml
|
|
# Usage: fetch_sm_inputs.yml
|
|
ib_config_file: "{{ role_path }}/../../input_params/ib_vars.yml"
|
|
ib_config_file: "{{ role_path }}/../../input_params/ib_vars.yml"
|