mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
committed by
Matt Davis
parent
a7d372c3ba
commit
16fa49a894
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user