main.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. fil_mode: "0755"
  23. jansson_download_dir: /var/lib/
  24. jansson_src_url: https://github.com/akheron/jansson/archive/refs/tags/v2.14.tar.gz
  25. jansson_path: /usr/local/lib/pkgconfig
  26. jansson_dir_path: /var/lib/jansson-2.14/
  27. # Usage: install_libjwt.yml
  28. libjwt_repo: https://github.com/benmcollins/libjwt.git
  29. libjwt_dir: /var/lib/libjwt
  30. # Usage: generate_token.yml
  31. token_dir: /var/spool/slurm/jwt_hs256.key
  32. slurm_dir: /etc/slurm/
  33. slurm_conf_path: /etc/slurm/slurm.conf
  34. token_mode: '0600'
  35. systemd_path_dest: "/etc/systemd/system/"
  36. slurm_restd_port: "6820"