Housekeeping;Add missing key to dict
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-08 19:46:37 +01:00
parent ac4b011e83
commit fe8700f300
3 changed files with 7 additions and 1 deletions

View File

@ -21,6 +21,7 @@
datacenter: "{{ vcenter_info.datacenter }}"
datastore: "{{ vcenter_info.datastore }}"
network: "{{ vcenter_info.network }}"
resourcepool: "{{ vcenter_info.resourcepool }}"
cluster:
publickey: "{{ vapp['guestinfo.rootsshkey'] }}"
version: "{{ components.clusterapi.workload.version.k8s }}"

View File

@ -36,6 +36,11 @@
$(govc object.collect -json VirtualMachine:{{ moref_id }} | \
jq -r '.[] | select(.Name == "network").Val.ManagedObjectReference | .[].Type + ":" + .[].Value')
part: NF
- attribute: resourcepool
moref: >-
$(govc object.collect -json /DeSchakel/vm/Kubernetes.Bootstrap.Appliance2 |
jq -r '.[] | select(.Name == "resourcePool").Val | .Type + ":" + .Value')
part: 0
loop_control:
label: "{{ item.attribute }}"