mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
parent
a7d372c3ba
commit
16fa49a894
2 changed files with 16 additions and 1 deletions
|
@ -323,6 +323,7 @@
|
|||
short_hostname: testvm
|
||||
os_type: Linux
|
||||
os_disk_size_gb: 64
|
||||
os_disk_name: testosdiskxx
|
||||
network_interfaces: "{{ niclist }}"
|
||||
availability_set: "{{ abs_name2 }}"
|
||||
image:
|
||||
|
@ -334,6 +335,7 @@
|
|||
- assert:
|
||||
that:
|
||||
- azure_vm.properties.availabilitySet.id
|
||||
- azure_vm.properties.storageProfile.osDisk.name == 'testosdiskxx'
|
||||
|
||||
- name: Retrieve vms facts (filtering by name)
|
||||
azure_rm_virtualmachine_facts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue