main.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Copyright 2021 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. # vars file for powervault_me4_nfs
  16. # Usage: mount_me4_partitions.yml
  17. me4_volume_fail_msg: "ME4 volumes not found!"
  18. me4_nfs_share_k8s: "/me4_k8s_nfs"
  19. me4_nfs_share_slurm: "/me4_slurm_nfs"
  20. fstab_file_path: "/etc/fstab"
  21. # Usage: me4_nfs_server_setup.yml
  22. exports_file_path: /etc/exports
  23. nfs_services:
  24. - mountd
  25. - rpc-bind
  26. - nfs
  27. nfs_share_dir_mode: 0777
  28. # Usage: nfs_node_configure.yml
  29. pv_nic: "{{ powervault_me4_server_nic }}"
  30. pv_nic_ip: 192.168.25.3
  31. pv_nic_gateway: 192.168.25.1
  32. pv_port_ip: 192.168.25.5
  33. pv_nfs_file: "{{ role_path }}/../../control_plane/input_params/powervault_me4_vars.yml"
  34. nic_path: "/etc/sysconfig/network-scripts/ifcfg-{{ powervault_me4_server_nic }}"
  35. pv_ports_file: "{{ playbook_dir }}/control_plane/roles/powervault_me4/tasks/ports.yml"
  36. os_supported_leap: "leap"
  37. nic_status_search: "File exists"
  38. nic_conf_failed_msg: "NIC configuration failed"
  39. # Usage: validate_nfs_config.yml
  40. nic_error: "Failed. The nic given is wrong. Give nic according to the provisioned OS"