File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
tests/integration/targets/latest/tasks Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 69
69
- Comments that may include additional information in regards to the cluster
70
70
required: false
71
71
type: str
72
+ tenant:
73
+ description:
74
+ - Tenant the cluster will be assigned to.
75
+ required: false
76
+ type: raw
72
77
tags:
73
78
description:
74
79
- Any tags that the cluster may need to be associated with
@@ -176,6 +181,7 @@ def main():
176
181
cluster_type = dict (required = False , type = "raw" ),
177
182
cluster_group = dict (required = False , type = "raw" ),
178
183
site = dict (required = False , type = "raw" ),
184
+ tenant = dict (required = False , type = "raw" ),
179
185
comments = dict (required = False , type = "str" ),
180
186
tags = dict (required = False , type = "list" ),
181
187
custom_fields = dict (required = False , type = "dict" ),
Original file line number Diff line number Diff line change 52
52
cluster_group : " Test Cluster Group"
53
53
site : " Test Site"
54
54
comments : " Updated cluster"
55
+ tenant : " Test Tenant"
55
56
tags :
56
57
- Schnozzberry
57
58
state : present
65
66
- test_three['diff']['after']['site'] == 1
66
67
- test_three['diff']['after']['comments'] == "Updated cluster"
67
68
- test_three['diff']['after']['tags'][0] == "Schnozzberry"
69
+ - test_three['diff']['after']['tenant'] == 1
68
70
- test_three['cluster']['name'] == "Test Cluster One"
69
71
- test_three['cluster']['type'] == 1
70
72
- test_three['cluster']['group'] == 1
71
73
- test_three['cluster']['site'] == 1
72
74
- test_three['cluster']['comments'] == "Updated cluster"
73
75
- test_three['cluster']['tags'][0] == "Schnozzberry"
76
+ - test_three['cluster']['tenant'] == 1
74
77
- test_three['msg'] == "cluster Test Cluster One updated"
75
78
76
79
- name : " CLUSTER 4: ASSERT - Delete"
You can’t perform that action at this time.
0 commit comments