Open barto90 opened 3 years ago
@barto90 Thank you for reporting this problem. We will investigate this problem as soon as possible!
I found the same issue today. Versions: ansible core 2.16.3 azure.azcollection 2.6.0
@FrontierDynamic Okay, I'll check and fix it. Thank you!
SUMMARY
Creating a new VM with initial data_disks as follows works perfectly;
But if we add a new disk afterwards when the VM is deployed like;
The new disk is not added to the VM. The code shows no changes but shows "Ok" TASK [create_virtualmachine_catalog : Create a virtual machine from catalog AZ1SR0029] *** [WARNING]: Module did not set no_log for ssh_password_enabled ok: [localhost]
ISSUE TYPE
COMPONENT NAME
azure_rm_virtualmachine
ANSIBLE VERSION
STEPS TO REPRODUCE
EXPECTED RESULTS
Data disk is added also after the creation of the VM
ACTUAL RESULTS
Data disk is not added. Code return "Ok" while expected "Changed"