Fix module name;Add indentation;Update dependencies #2
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -13,7 +13,7 @@ | ||||
|         - attribute: cluster | ||||
|           moref: >- | ||||
|             $(govc object.collect -json VirtualMachine:{{ moref_id }} | \ | ||||
|             jq -r '.[] | select(.Name == "runtime").Val.Host | .Type + ":" + .Value') | ||||
|               jq -r '.[] | select(.Name == "runtime").Val.Host | .Type + ":" + .Value') | ||||
|           part: (NF-1) | ||||
|         - attribute: datacenter | ||||
|           moref: VirtualMachine:{{ moref_id }} | ||||
| @@ -21,22 +21,22 @@ | ||||
|         - attribute: datastore | ||||
|           moref: >- | ||||
|             $(govc object.collect -json VirtualMachine:{{ moref_id }} | \ | ||||
|             jq -r '.[] | select(.Name == "datastore").Val.ManagedObjectReference | .[].Type + ":" + .[].Value') | ||||
|               jq -r '.[] | select(.Name == "datastore").Val.ManagedObjectReference | .[].Type + ":" + .[].Value') | ||||
|           part: NF | ||||
|         - attribute: folder | ||||
|           moref: >- | ||||
|             $(govc object.collect -json VirtualMachine:{{ moref_id }} | \ | ||||
|             jq -r '.[] | select(.Name == "parent").Val | .Type + ":" + .Value') | ||||
|               jq -r '.[] | select(.Name == "parent").Val | .Type + ":" + .Value') | ||||
|           part: 0 | ||||
|         # - attribute: host | ||||
|         #   moref: >- | ||||
|         #     $(govc object.collect -json VirtualMachine:{{ moref_id }} | \ | ||||
|         #     jq -r '.[] | select(.Name == "runtime").Val.Host | .Type + ":" + .Value') | ||||
|         #       jq -r '.[] | select(.Name == "runtime").Val.Host | .Type + ":" + .Value') | ||||
|         #   part: NF | ||||
|         - attribute: network | ||||
|           moref: >- | ||||
|             $(govc object.collect -json VirtualMachine:{{ moref_id }} | \ | ||||
|             jq -r '.[] | select(.Name == "network").Val.ManagedObjectReference | .[].Type + ":" + .[].Value') | ||||
|               jq -r '.[] | select(.Name == "network").Val.ManagedObjectReference | .[].Type + ":" + .[].Value') | ||||
|           part: NF | ||||
|       loop_control: | ||||
|         label: "{{ item.attribute }}" | ||||
| @@ -62,7 +62,7 @@ | ||||
|       with_fileglob: /opt/workloadcluster/node-templates/*.ova | ||||
|  | ||||
|     - name: Deploy OVA templates on hypervisor | ||||
|       community.vmware.vmware_ovf_deploy: | ||||
|       community.vmware.vmware_deploy_ovf: | ||||
|         hostname: "{{ vapp['hv.fqdn'] }}" | ||||
|         validate_certs: no | ||||
|         username: "{{ vapp['hv.username'] }}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user