main.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. k8s_repo_leap: https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
  16. rpm_pkg_leap: https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
  17. yum_key_leap: https://packages.cloud.google.com/yum/doc/yum-key.gpg
  18. gpg_pubkey_leap: "rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}'"
  19. docker_repo_url_leap: https://download.docker.com/linux/sles/docker-ce.repo
  20. docker_repo_dest_leap: /etc/YaST2/docker-ce.repo
  21. os_supported_leap: "leap"
  22. os_supported_leap_version: "15.3"
  23. kubeadm_version: "kubeadm-{{ hostvars['127.0.0.1']['k8s_version'] }}"
  24. kubelet_version: "kubelet-{{ hostvars['127.0.0.1']['k8s_version'] }}"
  25. kubectl_version: "kubectl-{{ hostvars['127.0.0.1']['k8s_version'] }}"
  26. max_retries: 20
  27. k8s_packages:
  28. - "kubelet-{{ hostvars['127.0.0.1']['k8s_version'] }}"
  29. - "kubeadm-{{ hostvars['127.0.0.1']['k8s_version'] }}"
  30. - "kubectl-{{ hostvars['127.0.0.1']['k8s_version'] }}"
  31. k8s_repo_dest: /etc/yum.repos.d/
  32. k8s_conf_dest: /etc/sysctl.d/
  33. k8s_repo_file_mode: 0644
  34. k8s_conf_file_mode: 0644