main.yml 2.4 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. compute_node: "compute"
  16. base_vars_file: "{{ role_path }}/../../input_params/base_vars.yml"
  17. awx_namespace: awx
  18. awx_admin_user: admin
  19. awx_port: 8052
  20. tower_config_file: "{{ role_path }}/../../roles/webui_awx/files/.tower_cli.cfg"
  21. tower_vault_file: "{{ role_path }}/../../roles/webui_awx/files/.tower_vault_key"
  22. ethernet_inventory: "ethernet_inventory"
  23. node_inventory: "node_inventory"
  24. device_inventory_template: "device_inventory_job"
  25. idrac_job_template: "idrac_template"
  26. ethernet_job_template: "ethernet_template"
  27. infiniband_job_template: "infiniband_template"
  28. powervault_me4_job_template: "powervault_me4_template"
  29. component_role_job_template: "deploy_omnia_template"
  30. job_execution_success_msg: "Job execution is successful"
  31. job_execution_failure_msg: "Job execution is failed!"
  32. device_inventory_template_warn_msg: "Device inventory template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
  33. ethernet_template_warn_msg: "Ethernet template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
  34. infiniband_template_warn_msg: "Infiniband template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
  35. powervault_template_warn_msg: "Powervault_me4 template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
  36. idrac_template_warn_msg: "idrac template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
  37. provisioning_wait_time: 1800
  38. dhcp_wait_time: 900
  39. awx_max_wait_time: 900
  40. pod_restart_time: 90
  41. project_name: 'omnia'
  42. job_template_details:
  43. - { name: configure_new_devices_job, inventory: idrac_inventory, playbook: control_plane/tools/configure_new_devices.yml, credential: idrac_credential }
  44. scheduled_template:
  45. - { name: ConfigureNewDeviceSchedule, template: configure_new_devices_job, rrule: "DTSTART:20210729T063000Z RRULE:FREQ=DAILY;INTERVAL=1" }