main.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. # Usage: install_jansson.yml
  16. slurm_restd_packages:
  17. - slurm-slurmrestd
  18. - http-parser-devel
  19. - json-c-devel
  20. - libtool
  21. - make
  22. slurm_restd_packages_leap:
  23. - slurm-rest
  24. - libjson-c-devel
  25. - http-parser-devel
  26. - libtool
  27. - make
  28. - libopenssl-devel
  29. slurm_gcc_leap:
  30. - devel_basis
  31. fil_mode: "0755"
  32. jansson_download_dir: /var/lib/
  33. jansson_src_url: https://github.com/akheron/jansson/archive/refs/tags/v2.14.tar.gz
  34. jansson_path: /usr/local/lib/pkgconfig
  35. jansson_dir_path: /var/lib/jansson-2.14/
  36. os_supported_leap: "leap"
  37. # Usage: install_libjwt.yml
  38. libjwt_repo: https://github.com/benmcollins/libjwt.git
  39. libjwt_dir: /var/lib/libjwt
  40. # Usage: configure_restd_leap.yml
  41. src_repo_name: "src-repo"
  42. src_repo_path: "http://download.opensuse.org/source/distribution/leap/15.3/repo/oss/"
  43. slurm_src_package_path: /usr/src/packages/SOURCES/
  44. slurm_lib_path: /var/lib/
  45. slurm_lib64_auth_jwt_src: /var/lib/lib64/slurm
  46. slurm_lib_auth_jwt_src: /var/lib/lib/slurm
  47. slurm_lib64_auth_jwt_dest: /usr/lib64/slurm/
  48. slurm_lib64_libjwt_src: /usr/local/lib64
  49. slurm_lib_libjwt_src: /usr/local/lib
  50. slurm_lib64_libjwt_dest: /usr/lib64/
  51. auth_jwt_file_name: auth_jwt.so
  52. libjwt_file_name: libjwt.so
  53. make_command_retries: 3
  54. # Usage: generate_token.yml
  55. token_dir: /var/spool/slurm/jwt_hs256.key
  56. slurm_dir: /etc/slurm/
  57. slurm_conf_path: /etc/slurm/slurm.conf
  58. token_mode: '0600'
  59. systemd_path_dest: "/etc/systemd/system/"
  60. slurm_restd_port: "6820"