main.yml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. ---
  15. # vars file for common
  16. # Usage: package_installation.yml
  17. common_packages:
  18. - epel-release
  19. - yum-utils
  20. - git
  21. - gcc
  22. - gcc-c++
  23. - nodejs
  24. - device-mapper-persistent-data
  25. - bzip2
  26. - python2-pip
  27. - python3-pip
  28. - nano
  29. - lvm2
  30. - gettext
  31. - python-docker
  32. - net-tools
  33. - python-netaddr
  34. # Usage: pre_requisite.yml
  35. internet_delay: 0
  36. internet_timeout: 1
  37. hostname: github.com
  38. port_no: 22
  39. os_name: CentOS
  40. os_version: '7.9'
  41. internet_status: "Failed: No Internet connection.Connect to Internet."
  42. os_status: "Unsupported OS or OS version.OS must be {{ os_name }} and Version must be {{ os_version }} or more"
  43. selinux_status: "SElinux is not disabled. Disable it in /etc/sysconfig/selinux and reboot the system"
  44. iso_name: CentOS-7-x86_64-Minimal-2009.iso
  45. iso_fail: "Iso file absent: Download and copy the iso file in omnia/appliance/roles/provision/files"
  46. # Usage: docker_installation.yml
  47. docker_repo_url: https://download.docker.com/linux/centos/docker-ce.repo
  48. docker_repo_dest: /etc/yum.repos.d/docker-ce.repo
  49. success: '0'
  50. container_type: docker
  51. container_repo_install: docker-ce
  52. docker_compose: docker-compose
  53. daemon_dest: /etc/docker/
  54. # Usage: docker_volume.yml
  55. docker_volume_name: omnia-storage
  56. # Usage: password_config.yml
  57. input_config_filename: "appliance_config.yml"
  58. fail_msg_provision_password: "Failed. Incorrect provision_password format provided in input_config.yml file"
  59. success_msg_provision_password: "provision_password validated"
  60. fail_msg_awx_password: "Failed. Incorrect awx_password format provided in input_config.yml file"
  61. success_msg_awx_password: "awx_password validated"
  62. fail_msg_hpc_nic: "Failed. Incorrect hpc_nic format provided in input_config.yml file"
  63. success_msg_hpc_nic: "hpc_nic validated"
  64. fail_msg_public_nic: "Failed. Incorrect public_nic format provided in input_config.yml file"
  65. success_msg_public_nic: "public_nic validated"
  66. success_mapping_file: "mapping_file_exists validated"
  67. fail_mapping_file: "Failed. Incorrect mapping_file_exists value in input_config.yml. It should be either true or false"
  68. input_config_failure_msg: "Please provide all the required parameters in input_config.yml"
  69. success_dhcp_range: "Dhcp_range validated"
  70. fail_dhcp_range: "Failed: Incorrect range assigned for dhcp"
  71. success_hpc_ip: "IP validated"
  72. fail_hpc_ip: "Failed: Nic should be configured"
  73. min_length: 8
  74. max_length: 30
  75. nic_min_length: 3
  76. vault_filename: .vault_key
  77. config_filename: "omnia_config.yml"
  78. config_vaultname: .omnia_vault_key
  79. fail_msg_mariadb_password: "maria_db password not given in correct format."
  80. success_msg_mariadb_password: "mariadb_password validated"
  81. success_msg_k8s_cni: "Kubernetes CNI Validated"
  82. fail_msg_k8s_cni: "Kubernetes CNI not correct."