main.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. - yum-plugin-versionlock
  17. - gcc
  18. - nfs-utils
  19. - python3-pip
  20. - bash-completion
  21. - nvidia-detect
  22. - chrony
  23. - pciutils
  24. - docker-ce-cli-20.10.2
  25. - docker-ce-20.10.2
  26. - openssl
  27. - singularity
  28. docker_packages:
  29. - docker-ce-cli-20.10.2
  30. - docker-ce-20.10.2
  31. custom_fact_dir: /etc/ansible/facts.d
  32. custom_fact_dir_mode: 0755
  33. accelerator_discovery_script_dest: /etc/ansible/facts.d/inventory.fact
  34. accelerator_discovery_script_mode: 0755
  35. elrepo_gpg_key_url: https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
  36. elrepo_rpm_url: "https://www.elrepo.org/elrepo-release-{{ ansible_facts['distribution_major_version'] }}.el{{ ansible_facts['distribution_major_version'] }}.elrepo.noarch.rpm"
  37. docker_repo_url: https://download.docker.com/linux/centos/docker-ce.repo
  38. docker_repo_dest: /etc/yum.repos.d/docker-ce.repo
  39. chrony_path: "/etc/chrony.conf"
  40. ntp_path: "/etc/ntp.conf"
  41. ntp_mode: "0644"
  42. os_higher_version: "8"
  43. os_version: "7"
  44. os_name: "CentOS"
  45. retry_count_one: "10"
  46. delay_count_one: "60"
  47. retry_count: "6"
  48. delay_count: "10"
  49. ntp_servers:
  50. - 0.centos.pool.ntp.org
  51. - 1.centos.pool.ntp.org
  52. - 2.centos.pool.ntp.org
  53. chrony_servers:
  54. - 2.centos.pool.ntp.org
  55. nvidia_docker_repo_url: https://nvidia.github.io/nvidia-docker/centos7/nvidia-docker.repo
  56. nvidia_docker_repo_dest: /etc/yum.repos.d/nvidia-docker.repo
  57. nvidia_container_repo_url: https://nvidia.github.io/libnvidia-container/centos7/libnvidia-container.repo
  58. nvidia_container_repo_dest: /etc/yum.repos.d/libnvidia-container.repo
  59. nvidia_packages:
  60. - kmod-nvidia
  61. - nvidia-docker2
  62. daemon_file_dest: /etc/docker/
  63. daemon_file_mode: 0644
  64. hosts_file_dest: "/etc/hosts"
  65. hosts_file_mode: "0644"