Skip to content

Commit

Permalink
Adding more lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
george-ghawali committed Dec 16, 2024
1 parent df79794 commit a652dc7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,9 @@
- '"{{ clusters[0].config.cluster_functions[0] }}" in "{{result.response.config.cluster_function}}"'
- result.response.config.redundancy_factor == clusters[0].config.redundancy_factor_cluster_crud
- result.response.config.cluster_arch == "{{ clusters[0].config.cluster_arch }}"
- result.response.config.fault_tolerance_state.domain_awareness_level == "{{ clusters[0].config.fault_tolerance_state.domain_awareness_level_cluster_crud }}"
- >
result.response.config.fault_tolerance_state.domain_awareness_level ==
"{{ clusters[0].config.fault_tolerance_state.domain_awareness_level_cluster_crud }}"
fail_msg: Failed verifying cluster creation
success_msg: Cluster creation passed successfully

Expand Down Expand Up @@ -677,7 +679,9 @@
- '"{{ clusters[0].config.cluster_functions[0] }}" in "{{result.response.config.cluster_function}}"'
- result.response.config.redundancy_factor == clusters[0].config.redundancy_factor_cluster_crud
- result.response.config.cluster_arch == "{{ clusters[0].config.cluster_arch }}"
- result.response.config.fault_tolerance_state.domain_awareness_level == "{{ clusters[0].config.fault_tolerance_state.domain_awareness_level_cluster_crud }}"
- >
result.response.config.fault_tolerance_state.domain_awareness_level ==
"{{ clusters[0].config.fault_tolerance_state.domain_awareness_level_cluster_crud }}"
- result.response.network.external_address.ipv4.value == "{{ clusters[0].network.virtual_ip }}"
- unique_ntp_servers | length == 4
- unique_dns_servers | length == 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,9 @@
- result.response.config.cluster_function[0] == "{{ clusters[0].config.cluster_functions[0] }}"
- result.response.config.redundancy_factor == clusters[0].config.redundancy_factor_cluster_expanding
- result.response.config.cluster_arch == "{{ clusters[0].config.cluster_arch }}"
- result.response.config.fault_tolerance_state.domain_awareness_level == "{{ clusters[0].config.fault_tolerance_state.domain_awareness_level_cluster_expanding }}"
- >
result.response.config.fault_tolerance_state.domain_awareness_level ==
"{{ clusters[0].config.fault_tolerance_state.domain_awareness_level_cluster_expanding }}"
fail_msg: Failed verifying cluster creation
success_msg: Cluster creation passed successfully

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
fail_msg: "Unable to update protection rule with asynchronous schedule"
success_msg: "Protection policy with with asynchronous schedule updated successfully"

##################################################################################################################################################################
####################################################################################

- name: Idempotency Check
ntnx_protection_rules:
Expand Down Expand Up @@ -323,7 +323,7 @@
fail_msg: "Idempotency check failed"
success_msg: "Idempotency check passed"

##################################################################################################################################################################
####################################################################################

- name: Check Mode while update
check_mode: true
Expand Down

0 comments on commit a652dc7

Please sign in to comment.