main.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. common_packages:
  16. - epel-release
  17. - yum-plugin-versionlock
  18. - gcc
  19. - nfs-utils
  20. - python3-pip
  21. - docker-ce
  22. - bash-completion
  23. - nvidia-detect
  24. - chrony
  25. k8s_packages:
  26. - kubelet-1.16.7
  27. - kubeadm-1.16.7
  28. - kubectl-1.16.7
  29. k8s_repo_dest: /etc/yum.repos.d/
  30. elrepo_gpg_key_url: https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
  31. elrepo_rpm_url: https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
  32. docker_repo_url: https://download.docker.com/linux/centos/docker-ce.repo
  33. docker_repo_dest: /etc/yum.repos.d/docker-ce.repo
  34. k8s_conf_dest: /etc/sysctl.d/
  35. k8s_repo_file_mode: 0644
  36. k8s_conf_file_mode: 0644
  37. chrony_path: "/etc/chrony.conf"
  38. ntp_path: "/etc/ntp.conf"
  39. ntp_mode: "0644"
  40. os_higher_version: "8"
  41. os_version: "7"
  42. retry_count_one: "10"
  43. delay_count_one: "60"
  44. retry_count: "6"
  45. delay_count: "10"
  46. ntp_servers:
  47. - 0.centos.pool.ntp.org
  48. - 1.centos.pool.ntp.org
  49. - 2.centos.pool.ntp.org
  50. chrony_servers:
  51. - 2.centos.pool.ntp.org