ansible azure module - attach disk or resize vhd (Linux)

357 views
Skip to first unread message

nilgün çelik

unread,
Jul 31, 2016, 2:14:41 PM7/31/16
to Ansible Project

Hi there,

I have been trying to expand the default 30GB image size for Ubuntu 14.04 image on Azure store.

Normally I attach a secondary data disk to my vm instance and mount it afterwards.
Another option would be to resize the current container in the associated storage account.


As far as know it is possible to achieve these programatically:

Example for resizing existing disk via Powershell
Example for attaching new data disk via Azure CLI


Yet I couldn't find a task that would help me with any of the above.
Can you suggest any solutions on how I should proceed to write ansible tasks for these operations?

Thanks in advance,

Reply all
Reply to author
Forward
0 new messages