main.yml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # Copyright 2022 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. leap_repo:
  16. - { name: repo-non-oss, repo: "http://download.opensuse.org/distribution/leap/15.3/repo/non-oss/" }
  17. - { name: repo-oss, repo: "http://download.opensuse.org/distribution/leap/15.3/repo/oss/" }
  18. - { name: repo-update-oss, repo: "http://download.opensuse.org/update/leap/15.3/oss/" }
  19. - { name: repo-update-non-oss, repo: "http://download.opensuse.org/update/leap/15.3/non-oss/" }
  20. nvidia_repo: https://download.nvidia.com/opensuse/leap/15.3/
  21. docker_repo_url_leap: https://download.docker.com/linux/sles/docker-ce.repo
  22. docker_repo_dest_leap: /etc/YaST2/docker-ce.repo
  23. os_supported_leap: "leap"
  24. os_supported_leap_version: "15.3"
  25. common_packages:
  26. - gcc
  27. - nfs-utils
  28. - python3-pip
  29. - bash-completion
  30. - chrony
  31. - pciutils
  32. - openssl
  33. - singularity
  34. - python3-pexpect
  35. max_retries: 20
  36. max_delay: 20
  37. amd_gpu_dest: /etc/modprobe.d/10-unsupported-modules.conf
  38. gpg_key_amd: 'https://repo.radeon.com/rocm/rocm.gpg.key'
  39. amd_repo: 'https://repo.radeon.com/rocm/zyp/zypper/'
  40. nvidia_docker_repo: 'https://nvidia.github.io/nvidia-docker/opensuse-leap15.1/nvidia-docker.repo'
  41. conf_file_mode: 0644
  42. common_packages_for_non_leap:
  43. - yum-plugin-versionlock
  44. - nvidia-detect
  45. - docker-ce-cli-20.10.2
  46. - docker-ce-20.10.2
  47. docker_packages:
  48. - docker-ce-cli-20.10.2
  49. - docker-ce-20.10.2
  50. custom_fact_dir: /etc/ansible/facts.d
  51. custom_fact_dir_mode: 0755
  52. accelerator_discovery_script_dest: /etc/ansible/facts.d/inventory.fact
  53. accelerator_discovery_script_mode: 0755
  54. elrepo_gpg_key_url: https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
  55. elrepo_rpm_url: "https://www.elrepo.org/elrepo-release-{{ ansible_facts['distribution_major_version'] }}.el{{ ansible_facts['distribution_major_version'] }}.elrepo.noarch.rpm"
  56. docker_repo_url: https://download.docker.com/linux/centos/docker-ce.repo
  57. docker_repo_dest: /etc/yum.repos.d/docker-ce.repo
  58. chrony_path: "/etc/chrony.conf"
  59. ntp_path: "/etc/ntp.conf"
  60. ntp_mode: "0644"
  61. os_higher_version: "8"
  62. os_version: "7"
  63. os_name: "CentOS"
  64. retry_count_one: "10"
  65. delay_count_one: "60"
  66. retry_count: "6"
  67. delay_count: "10"
  68. ntp_servers:
  69. - 0.centos.pool.ntp.org
  70. - 1.centos.pool.ntp.org
  71. - 2.centos.pool.ntp.org
  72. chrony_servers:
  73. - 2.centos.pool.ntp.org
  74. nvidia_docker_repo_url: https://nvidia.github.io/nvidia-docker/centos7/nvidia-docker.repo
  75. nvidia_docker_repo_dest: /etc/yum.repos.d/nvidia-docker.repo
  76. nvidia_container_repo_url: https://nvidia.github.io/libnvidia-container/centos7/libnvidia-container.repo
  77. nvidia_container_repo_dest: /etc/yum.repos.d/libnvidia-container.repo
  78. nvidia_packages:
  79. - kmod-nvidia
  80. - nvidia-docker2
  81. daemon_file_dest: /etc/docker/
  82. daemon_file_mode: 0644
  83. hosts_file_dest: "/etc/hosts"
  84. hosts_file_mode: "0644"