# Copyright 2021 Dell Inc. or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
compute_node: "compute"
base_vars_file: "{{ role_path }}/../../input_params/base_vars.yml"
awx_namespace: awx
awx_admin_user: admin
awx_port: 8052
tower_config_file: "{{ role_path }}/../../roles/webui_awx/files/.tower_cli.cfg"
tower_vault_file: "{{ role_path }}/../../roles/webui_awx/files/.tower_vault_key"
ethernet_inventory: "ethernet_inventory"
node_inventory: "node_inventory"
device_inventory_template: "device_inventory_job"
idrac_job_template: "idrac_template"
ethernet_job_template: "ethernet_template"
infiniband_job_template: "infiniband_template"
powervault_me4_job_template: "powervault_me4_template"
component_role_job_template: "deploy_omnia_template"
job_execution_success_msg: "Job execution is successful"
job_execution_failure_msg: "Job execution is failed!"
device_inventory_template_warn_msg: "Device inventory template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
ethernet_template_warn_msg: "Ethernet template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
infiniband_template_warn_msg: "Infiniband template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
powervault_template_warn_msg: "Powervault_me4 template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
idrac_template_warn_msg: "idrac template execution didn't exit successfully. Detailed output can be viewed on AWX UI"
provisioning_wait_time: 1800
dhcp_wait_time: 900
awx_max_wait_time: 900
pod_restart_time: 90
project_name: 'omnia'
job_template_details:
  - { name: configure_new_devices_job, inventory: idrac_inventory, playbook: control_plane/tools/configure_new_devices.yml, credential: idrac_credential }
scheduled_template:
  - { name: ConfigureNewDeviceSchedule, template: configure_new_devices_job, rrule: "DTSTART:20210729T063000Z RRULE:FREQ=DAILY;INTERVAL=1" }