{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/328","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/328/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/328/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/328","id":48814257,"number":328,"title":"azure: Allow specifying service name separate from VM name","user":{"login":"nyasara","id":1605948,"avatar_url":"https://avatars.githubusercontent.com/u/1605948?v=3","gravatar_id":"","url":"https://api.github.com/users/nyasara","html_url":"https://github.com/nyasara","followers_url":"https://api.github.com/users/nyasara/followers","following_url":"https://api.github.com/users/nyasara/following{/other_user}","gists_url":"https://api.github.com/users/nyasara/gists{/gist_id}","starred_url":"https://api.github.com/users/nyasara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyasara/subscriptions","organizations_url":"https://api.github.com/users/nyasara/orgs","repos_url":"https://api.github.com/users/nyasara/repos","events_url":"https://api.github.com/users/nyasara/events{/privacy}","received_events_url":"https://api.github.com/users/nyasara/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_idea","name":"feature_idea","color":"006b75"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/P3","name":"P3","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-14T17:12:18Z","updated_at":"2016-01-11T16:58:08Z","closed_at":null,"body":"Issue Type: Feature Idea\r\nAnsible Version: Ansible 1.5.4\r\nEnvironment: N/A\r\nSummary: The \"azure\" module only allows you to create a VM with the same name as your deployed service.  This does not allow you to use ansible to set up a service with multiple VMs, or (what would be very nice), add new VMs to an existing service.  The azure module should be extended to include an argument for \"service_name\" that _defaults_ (if desired) to the VM name.  It should also include an argument for \"create_service\", which is _False_ by default.\r\nSteps To Reproduce: I would use this in playbooks to create/configure my cluster from scratch. This would especially be useful in testing, where I could create an inventory file that defined per-VM variables like name, SSH port, etc., assign those VMs to a role, and use a playbook to create the service (if necessary), then ensure all the VMs are present (using the individual names to test).\r\nExpected Results: Ability to have a service with a VM named differently from the service\r\nActual Results: Currently you can only create VMs with the same name as the overall service."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/170617478","html_url":"https://github.com/ansible/ansible-modules-core/issues/328#issuecomment-170617478","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/328","id":170617478,"user":{"login":"gregdek","id":252125,"avatar_url":"https://avatars.githubusercontent.com/u/252125?v=3","gravatar_id":"","url":"https://api.github.com/users/gregdek","html_url":"https://github.com/gregdek","followers_url":"https://api.github.com/users/gregdek/followers","following_url":"https://api.github.com/users/gregdek/following{/other_user}","gists_url":"https://api.github.com/users/gregdek/gists{/gist_id}","starred_url":"https://api.github.com/users/gregdek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregdek/subscriptions","organizations_url":"https://api.github.com/users/gregdek/orgs","repos_url":"https://api.github.com/users/gregdek/repos","events_url":"https://api.github.com/users/gregdek/events{/privacy}","received_events_url":"https://api.github.com/users/gregdek/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T16:58:08Z","updated_at":"2016-01-11T16:58:08Z","body":"ping @nitzmahone "}}