adding os disk name (#45126)

* adding os disk name

* fixed test
This commit is contained in:
Zim Kalinowski 2018-09-20 07:51:37 +08:00 committed by Matt Davis
commit 16fa49a894
2 changed files with 16 additions and 1 deletions

View file

@ -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: