Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency committed Dec 9, 2024
1 parent 4e0b5fa commit e6a377d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/integration/targets/vcenter_vm_scenario1/tasks/create_vm.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
- name: Build a list of all the datastores
vmware.vmware_rest.vcenter_datastore_info:
register: all_the_datastores

- name: Print all datastores
ansible.builtin.debug:
var: all_the_datastores

- name: Debug
ansible.builtin.debug:
msg:
- "{{ lookup('vmware.vmware_rest.datastore_moid', '/my_dc/datastore/local') }}"
- "{{ lookup('vmware.vmware_rest.datastore_moid', '/my_dc/') }}"
- "{{ lookup('vmware.vmware_rest.datastore_moid', '/my_dc/datastore/') }}"

- name: Create a VM
vmware.vmware_rest.vcenter_vm:
placement:
Expand Down

0 comments on commit e6a377d

Please sign in to comment.