Skip to content

Commit

Permalink
Enable foundation sanity and some lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhati-pradeep committed Mar 15, 2024
1 parent 797ed6f commit 971edac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion tests/integration/targets/ntnx_foundation_sanity/aliases
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
disabled
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
node_position: "{{nodes.node1.node_position}}"
clusters:
- redundancy_factor: 1
cluster_members:
cluster_members:
- "{{nodes.node1.cvm_ip}}"
name: "test-cluster"
timezone: "Asia/Calcutta"
cvm_ntp_servers:
cvm_ntp_servers:
- "{{nodes.ntp_servers[0]}}"
- "{{nodes.ntp_servers[1]}}"
cvm_dns_servers:
- "{{nodes.dns_servers[0]}}"
- "{{nodes.dns_servers[1]}}"
hypervisor_ntp_servers:
hypervisor_ntp_servers:
- "{{nodes.ntp_servers[0]}}"
- "{{nodes.ntp_servers[1]}}"
enable_ns: true
Expand Down Expand Up @@ -102,11 +102,11 @@
"hypervisor_gateway": "{{hypervisor_gateway}}",
"hypervisor_iso": {},
"hypervisor_netmask": "{{hypervisor_netmask}}",
"ipmi_user": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"ipmi_user": "{{default_ipmi_user}}",
"nos_package": "{{images.aos_packages[0]}}"
}

- name: Verify spec
- name: Verify spec
assert:
that:
- spec.response is defined
Expand Down Expand Up @@ -179,17 +179,17 @@
node_position: "{{nodes.node1.node_position}}"
clusters:
- redundancy_factor: 1
cluster_members:
cluster_members:
- "{{nodes.node1.cvm_ip}}"
name: "test-cluster"
timezone: "Asia/Calcutta"
cvm_ntp_servers:
cvm_ntp_servers:
- "{{nodes.ntp_servers[0]}}"
- "{{nodes.ntp_servers[1]}}"
cvm_dns_servers:
- "{{nodes.dns_servers[0]}}"
- "{{nodes.dns_servers[1]}}"
hypervisor_ntp_servers:
hypervisor_ntp_servers:
- "{{nodes.ntp_servers[0]}}"
- "{{nodes.ntp_servers[1]}}"
register: result
Expand All @@ -206,4 +206,4 @@
fail_msg: " Fail : unable to image nodes and create cluster"
success_msg: "Succes: cluster and node imaging done successfully"

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

0 comments on commit 971edac

Please sign in to comment.