main.yml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. # Usage: pre_requisite.yml
  33. internet_delay: 0
  34. internet_timeout: 1
  35. hostname: github.com
  36. port_no: 22
  37. os_name: CentOS
  38. os_version: '7.9'
  39. internet_status: "Failed: No Internet connection.Connect to Internet."
  40. os_status: "Unsupported OS or OS version.OS must be {{ os_name }} and Version must be {{ os_version }} or more"
  41. selinux_status: "SElinux is not disabled. Disable it in /etc/sysconfig/selinux and reboot the system"
  42. iso_name: CentOS-7-x86_64-Minimal-2009.iso
  43. iso_fail: "Iso file absent: Download and copy the iso file in omnia/appliance/roles/provision/files"
  44. # Usage: docker_installation.yml
  45. docker_repo_url: https://download.docker.com/linux/centos/docker-ce.repo
  46. docker_repo_dest: /etc/yum.repos.d/docker-ce.repo
  47. success: '0'
  48. container_type: docker
  49. container_repo_install: docker-ce
  50. docker_compose: docker-compose
  51. daemon_dest: /etc/docker/
  52. # Usage: docker_volume.yml
  53. docker_volume_name: omnia-storage
  54. # Usage: password_config.yml
  55. input_config_filename: "input_config.yml"
  56. fail_msg_provision_password: "Failed. Incorrect provision_password format provided in input_config.yml file"
  57. success_msg_provision_password: "provision_password validated"
  58. fail_msg_awx_password: "Failed. Incorrect awx_password format provided in input_config.yml file"
  59. success_msg_awx_password: "awx_password validated"
  60. fail_msg_mariadb_password: "Failed. Incorrect mariadb_password format provided in input_config.yml file"
  61. success_msg_mariadb_password: "mariadb_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. input_config_failure_msg: "Please provide all the required parameters in input_config.yml"
  67. min_length: 8
  68. max_length: 30
  69. nic_min_length: 3
  70. vault_filename: .vault_key