{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/44620","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/44620/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/44620/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/44620/events","html_url":"https://github.com/ansible/ansible/issues/44620","id":353671488,"node_id":"MDU6SXNzdWUzNTM2NzE0ODg=","number":44620,"title":"azure_rm_virtualmachine module - no storage account","user":{"login":"nicolaibaralmueller","id":33453919,"node_id":"MDQ6VXNlcjMzNDUzOTE5","avatar_url":"https://avatars0.githubusercontent.com/u/33453919?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolaibaralmueller","html_url":"https://github.com/nicolaibaralmueller","followers_url":"https://api.github.com/users/nicolaibaralmueller/followers","following_url":"https://api.github.com/users/nicolaibaralmueller/following{/other_user}","gists_url":"https://api.github.com/users/nicolaibaralmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaibaralmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaibaralmueller/subscriptions","organizations_url":"https://api.github.com/users/nicolaibaralmueller/orgs","repos_url":"https://api.github.com/users/nicolaibaralmueller/repos","events_url":"https://api.github.com/users/nicolaibaralmueller/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaibaralmueller/received_events","type":"User","site_admin":false},"labels":[{"id":835286067,"node_id":"MDU6TGFiZWw4MzUyODYwNjc=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.6","name":"affects_2.6","color":"ededed","default":false},{"id":379680468,"node_id":"MDU6TGFiZWwzNzk2ODA0Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/azure","name":"azure","color":"c5def5","default":false},{"id":61528803,"node_id":"MDU6TGFiZWw2MTUyODgwMw==","url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":852590921,"node_id":"MDU6TGFiZWw4NTI1OTA5MjE=","url":"https://api.github.com/repos/ansible/ansible/labels/feature","name":"feature","color":"006b75","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":503572087,"node_id":"MDU6TGFiZWw1MDM1NzIwODc=","url":"https://api.github.com/repos/ansible/ansible/labels/needs_triage","name":"needs_triage","color":"0e8a16","default":false},{"id":669975544,"node_id":"MDU6TGFiZWw2Njk5NzU1NDQ=","url":"https://api.github.com/repos/ansible/ansible/labels/support:certified","name":"support:certified","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-24T07:16:31Z","updated_at":"2018-08-24T10:35:55Z","closed_at":"2018-08-24T10:35:55Z","author_association":"NONE","body":"##### SUMMARY\r\nazure_rm_virtualmachine module always creates a storage account. When creating a VM manually it is possible to chose \"Use managed disks\" which does not create a storage account. This should also be supported in this module.\r\n\r\n##### ISSUE TYPE\r\n - Feature Idea\r\n\r\n##### COMPONENT NAME\r\nazure_rm_virtualmachine\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.6.2\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = [u'/home/nbm/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible\r\n  executable location = /usr/local/bin/ansible\r\n  python version = 2.7.12 (default, Dec  4 2017, 14:50:18) [GCC 5.4.0 20160609]\r\n```\r\n\r\n##### CONFIGURATION\r\nNo env variables\r\n\r\n##### OS / ENVIRONMENT\r\nUbuntu 16.04 and Centos 7.4\r\n\r\n##### STEPS TO REPRODUCE\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n- name: Create PCA MASTER\r\n  azure_rm_virtualmachine:\r\n    subscription_id: '{{ az_customer_subscription_id }}'\r\n    resource_group: '{{ customer_prefix}}-pca-master'\r\n    name: '{{ customer_prefix}}-pca-master'\r\n    short_hostname: '{{ customer_prefix}}'\r\n    ad_user: '{{ ad_user_login_var }}'\r\n    password: '{{ ad_password_var }}'\r\n    os_type: Linux\r\n    vm_size: Standard_DS11_v2\r\n    admin_username: awx-user\r\n    virtual_network_name: \"{{aio_vnet}}\"\r\n    subnet_name: '{{pca_subnet}}'\r\n    ssh_password_enabled: false\r\n    ssh_public_keys:\r\n    - path: /home/awx-user/.ssh/authorized_keys\r\n      key_data: '{{ key_data }}'\r\n    image:\r\n      offer: CentOS\r\n      publisher: OpenLogic\r\n      sku: '7.3'\r\n      version: latest\r\n```\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\nThere is no option to just choose managed disks without storage account.\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/415721607","html_url":"https://github.com/ansible/ansible/issues/44620#issuecomment-415721607","issue_url":"https://api.github.com/repos/ansible/ansible/issues/44620","id":415721607,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTcyMTYwNw==","user":{"login":"nicolaibaralmueller","id":33453919,"node_id":"MDQ6VXNlcjMzNDUzOTE5","avatar_url":"https://avatars0.githubusercontent.com/u/33453919?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolaibaralmueller","html_url":"https://github.com/nicolaibaralmueller","followers_url":"https://api.github.com/users/nicolaibaralmueller/followers","following_url":"https://api.github.com/users/nicolaibaralmueller/following{/other_user}","gists_url":"https://api.github.com/users/nicolaibaralmueller/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaibaralmueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaibaralmueller/subscriptions","organizations_url":"https://api.github.com/users/nicolaibaralmueller/orgs","repos_url":"https://api.github.com/users/nicolaibaralmueller/repos","events_url":"https://api.github.com/users/nicolaibaralmueller/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaibaralmueller/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T10:35:55Z","updated_at":"2018-08-24T10:35:55Z","author_association":"NONE","body":"Well that was easy...\r\n\r\nBy adding managed_disk_type: Standard_LRS to the module, no storage was created. This is now resolved."}}
{"actor":{"display_login":"nicolaibaralmueller"}}