--- - name: get resource group info become: true become_user: root # become_method: runas hosts: localhost tasks: # ## create the resource group # - name: create resource_group # azure_rm_resourcegroup: # name: "rg-clean_room" # location: westeurope # ## create the vnet with subnets # - name: Create virtual network vnet-clean_room # azure_rm_virtualnetwork: # resource_group: "rg-clean_room" # name: vnet-clean_room # address_prefixes: # - "10.10.0.0/24" # - "10.245.140.0/22" # dns_servers: # - "10.245.142.82" # - "10.245.142.83" - name: Create managed operating system disk from page blob azure_rm_manageddisk: name: awe-tst-003-osdisk location: westeurope resource_group: rg-clean_room create_option: import source_uri: https://sacleanroomstaging.blob.core.windows.net/vhds/OG_awe-tst-003_OSDISK_Snapshot_MSS-3RD-SUN-0200-AM-LT0_16-4-2023.vhd storage_account_id: "/subscriptions/5639f350-6bf6-4f6c-b084-52a060aa1f99/resourceGroups/rg-clean_room/providers/Microsoft.Storage/storageAccounts/sacleanroomstaging" os_type: windows storage_account_type: Premium_LRS # disk_size_gb: 128 environment: - AZURE_CLIENT_ID: "{{AZURE_CLIENT_ID}}" - AZURE_SECRET: "{{AZURE_SECRET}}" - AZURE_SUBSCRIPTION_ID: "{{AZURE_SUBSCRIPTION_ID}}" - AZURE_TENANT: "{{AZURE_TENANT}}"