{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/43802","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/43802/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/43802/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/43802/events","html_url":"https://github.com/ansible/ansible/issues/43802","id":348541665,"node_id":"MDU6SXNzdWUzNDg1NDE2NjU=","number":43802,"title":"azure_rm_securitygroup does not recognize ASGs","user":{"login":"dancs85","id":42192815,"node_id":"MDQ6VXNlcjQyMTkyODE1","avatar_url":"https://avatars0.githubusercontent.com/u/42192815?v=4","gravatar_id":"","url":"https://api.github.com/users/dancs85","html_url":"https://github.com/dancs85","followers_url":"https://api.github.com/users/dancs85/followers","following_url":"https://api.github.com/users/dancs85/following{/other_user}","gists_url":"https://api.github.com/users/dancs85/gists{/gist_id}","starred_url":"https://api.github.com/users/dancs85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancs85/subscriptions","organizations_url":"https://api.github.com/users/dancs85/orgs","repos_url":"https://api.github.com/users/dancs85/repos","events_url":"https://api.github.com/users/dancs85/events{/privacy}","received_events_url":"https://api.github.com/users/dancs85/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":785271699,"node_id":"MDU6TGFiZWw3ODUyNzE2OTk=","url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"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":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"yungezz","id":37337818,"node_id":"MDQ6VXNlcjM3MzM3ODE4","avatar_url":"https://avatars3.githubusercontent.com/u/37337818?v=4","gravatar_id":"","url":"https://api.github.com/users/yungezz","html_url":"https://github.com/yungezz","followers_url":"https://api.github.com/users/yungezz/followers","following_url":"https://api.github.com/users/yungezz/following{/other_user}","gists_url":"https://api.github.com/users/yungezz/gists{/gist_id}","starred_url":"https://api.github.com/users/yungezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yungezz/subscriptions","organizations_url":"https://api.github.com/users/yungezz/orgs","repos_url":"https://api.github.com/users/yungezz/repos","events_url":"https://api.github.com/users/yungezz/events{/privacy}","received_events_url":"https://api.github.com/users/yungezz/received_events","type":"User","site_admin":false},"assignees":[{"login":"yungezz","id":37337818,"node_id":"MDQ6VXNlcjM3MzM3ODE4","avatar_url":"https://avatars3.githubusercontent.com/u/37337818?v=4","gravatar_id":"","url":"https://api.github.com/users/yungezz","html_url":"https://github.com/yungezz","followers_url":"https://api.github.com/users/yungezz/followers","following_url":"https://api.github.com/users/yungezz/following{/other_user}","gists_url":"https://api.github.com/users/yungezz/gists{/gist_id}","starred_url":"https://api.github.com/users/yungezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yungezz/subscriptions","organizations_url":"https://api.github.com/users/yungezz/orgs","repos_url":"https://api.github.com/users/yungezz/repos","events_url":"https://api.github.com/users/yungezz/events{/privacy}","received_events_url":"https://api.github.com/users/yungezz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":14,"created_at":"2018-08-08T01:26:01Z","updated_at":"2019-01-02T09:16:55Z","closed_at":null,"author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nTHIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.\r\nAlso test if the latest release, and devel branch are affected too.\r\nALWAYS add information AFTER (OUTSIDE) these html comments.\r\nOtherwise it may end up being automatically closed by our bot. -->\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\nThe azure_rm_securitygroup module does not recognize Application Security Groups. There is no way to provision NSGs with rules that contain ASG destinations/sources, and if a NSG rule is manually edited via the Portal with a rule containing a reference to an ASG, then re-running the azure_rm_securitygroup module causes an error.\r\n\r\n##### ISSUE TYPE\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.\r\nDo not include extra details here, e.g. \"vyos_command\" not \"the network module vyos_command\" or the full path-->\r\nazure_rm_securitygroup\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste, BELOW THIS COMMENT, verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.6.1\r\n  config file = None\r\n  configured module search path = [u'/home/#####/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /home/#####/.local/lib/python2.7/site-packages/ansible\r\n  executable location = /home/#####/.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\n<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of \"ansible-config dump --only-changed\"\r\nOtherwise, mention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).-->\r\nNo changes\r\n\r\n##### OS / ENVIRONMENT\r\n<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are\r\nmanaging, or say \"N/A\" for anything that is not platform-specific.\r\nAlso mention the specific version of what you are trying to control,\r\ne.g. if this is a network bug the version of firmware on the network device.-->\r\nUbuntu on Windows 10 (WSL)\r\n\r\n##### STEPS TO REPRODUCE\r\n<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used. -->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\nazure_rm_securitygroup:\r\n  resource_group: rsg01\r\n  name: nsg01\r\n  rules:\r\n    - name: \"HTTPS_WebServers\"\r\n      protocol: Tcp\r\n      source_address_prefix: \"Internet\"\r\n      destination_address_prefix: \"asg-web\"\r\n      destination_port_range: 443\r\n        access: Allow\r\n        priority: 101\r\n        direction: Inbound\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\nNSG created with rule that references an ASG\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\nIf re-running the module with a manually created NSG rule referencing an ASG:\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\nError creating/updating security group nsg01 - Azure Error: SecurityRuleParametersMissing\\nMessage: Required security rule parameters are missing for security rule with Id: /subscriptions/#####/resourceGroups/rsg01/providers/Microsoft.Network/networkSecurityGroups/nsg01/securityRules/HTTPS_WebServers. Security rule must specify DestinationAddressPrefixes, DestinationAddressPrefix, or DestinationApplicationSecurityGroups.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/450815724","html_url":"https://github.com/ansible/ansible/issues/43802#issuecomment-450815724","issue_url":"https://api.github.com/repos/ansible/ansible/issues/43802","id":450815724,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDgxNTcyNA==","user":{"login":"rdtechie","id":6579452,"node_id":"MDQ6VXNlcjY1Nzk0NTI=","avatar_url":"https://avatars2.githubusercontent.com/u/6579452?v=4","gravatar_id":"","url":"https://api.github.com/users/rdtechie","html_url":"https://github.com/rdtechie","followers_url":"https://api.github.com/users/rdtechie/followers","following_url":"https://api.github.com/users/rdtechie/following{/other_user}","gists_url":"https://api.github.com/users/rdtechie/gists{/gist_id}","starred_url":"https://api.github.com/users/rdtechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdtechie/subscriptions","organizations_url":"https://api.github.com/users/rdtechie/orgs","repos_url":"https://api.github.com/users/rdtechie/repos","events_url":"https://api.github.com/users/rdtechie/events{/privacy}","received_events_url":"https://api.github.com/users/rdtechie/received_events","type":"User","site_admin":false},"created_at":"2019-01-02T09:16:55Z","updated_at":"2019-01-02T09:16:55Z","author_association":"NONE","body":"Is there a update on this? Is this already in development?"}}
{"actor":{"display_login":"rdtechie"}}