main.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. - bash-completion
  22. - nvidia-detect
  23. - chrony
  24. - pciutils
  25. custom_fact_dir: /etc/ansible/facts.d
  26. custom_fact_dir_mode: 0755
  27. accelerator_discovery_script_dest: /etc/ansible/facts.d/inventory.fact
  28. accelerator_discovery_script_mode: 0755
  29. elrepo_gpg_key_url: https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
  30. elrepo_rpm_url: https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
  31. chrony_path: "/etc/chrony.conf"
  32. ntp_path: "/etc/ntp.conf"
  33. ntp_mode: "0644"
  34. os_higher_version: "8"
  35. os_version: "7"
  36. retry_count_one: "10"
  37. delay_count_one: "60"
  38. retry_count: "6"
  39. delay_count: "10"
  40. ntp_servers:
  41. - 0.centos.pool.ntp.org
  42. - 1.centos.pool.ntp.org
  43. - 2.centos.pool.ntp.org
  44. chrony_servers:
  45. - 2.centos.pool.ntp.org
  46. nvidia_docker_repo_url: https://nvidia.github.io/nvidia-docker/centos7/nvidia-docker.repo
  47. nvidia_docker_repo_dest: /etc/yum.repos.d/nvidia-docker.repo
  48. nvidia_container_repo_url: https://nvidia.github.io/libnvidia-container/centos7/libnvidia-container.repo
  49. nvidia_container_repo_dest: /etc/yum.repos.d/libnvidia-container.repo
  50. nvidia_packages:
  51. - kmod-nvidia
  52. - nvidia-docker2
  53. daemon_file_dest: /etc/docker/
  54. daemon_file_mode: 0644