123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- # Copyright 2022 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.
- ---
- - name: Include telemetry_base_vars.yml file
- include_vars: "{{ base_vars_file }}"
- no_log: true
- - name: Include control_plane base_vars.yml file
- include_vars: "{{ control_plane_base_vars_file }}"
- no_log: true
- - name: Assert idrac telemetry support
- assert:
- that:
- - idrac_telemetry_support == true or idrac_telemetry_support == false
- quiet: true
- success_msg: "{{ idrac_telemetry_support_success_msg }}"
- fail_msg: "{{ idrac_telemetry_support_fail_msg }}"
- - name: Assert slurm telemetry support
- assert:
- that:
- - slurm_telemetry_support == true or slurm_telemetry_support == false
- quiet: true
- success_msg: "{{ slurm_telemetry_support_success_msg }}"
- fail_msg: "{{ slurm_telemetry_support_fail_msg }}"
- - name: Assert slurm telemetry support
- assert:
- that:
- - idrac_telemetry_support == true
- quiet: true
- success_msg: "{{ slurm_telemetry_idrac_support_success_msg }}"
- fail_msg: "{{ slurm_telemetry_idrac_support_fail_msg }}"
- when: slurm_telemetry_support is true
- - name: Assert timescale db name
- assert:
- that: timescaledb_name | length > 1
- success_msg: "{{ timescaledb_success_msg }}"
- fail_msg: "{{ timescaledb_fail_msg }}"
- - name: Assert mysql db name
- assert:
- that: mysqldb_name | length > 1
- success_msg: "{{ mysqldb_success_msg }}"
- fail_msg: "{{ mysqldb_fail_msg }}"
|