{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/37321","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/37321/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/37321/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/37321/events","html_url":"https://github.com/ansible/ansible/issues/37321","id":304565723,"number":37321,"title":"Error while loading YAML on $schema","user":{"login":"dealkk","id":166372,"avatar_url":"https://avatars1.githubusercontent.com/u/166372?v=4","gravatar_id":"","url":"https://api.github.com/users/dealkk","html_url":"https://github.com/dealkk","followers_url":"https://api.github.com/users/dealkk/followers","following_url":"https://api.github.com/users/dealkk/following{/other_user}","gists_url":"https://api.github.com/users/dealkk/gists{/gist_id}","starred_url":"https://api.github.com/users/dealkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dealkk/subscriptions","organizations_url":"https://api.github.com/users/dealkk/orgs","repos_url":"https://api.github.com/users/dealkk/repos","events_url":"https://api.github.com/users/dealkk/events{/privacy}","received_events_url":"https://api.github.com/users/dealkk/received_events","type":"User","site_admin":false},"labels":[{"id":562292166,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.4","name":"affects_2.4","color":"ededed","default":false},{"id":379680468,"url":"https://api.github.com/repos/ansible/ansible/labels/azure","name":"azure","color":"c5def5","default":false},{"id":785271699,"url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"id":61528803,"url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":669975544,"url":"https://api.github.com/repos/ansible/ansible/labels/support:certified","name":"support:certified","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-12T22:37:54Z","updated_at":"2018-03-22T02:35:47Z","closed_at":null,"author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release, and devel branch are affected too.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest -->\r\n - Bug Report\r\n\r\n\r\n##### COMPONENT NAME\r\n\"azure_rm_deployment\"\r\n\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.4.2.0\r\n  config file = None\r\n  configured module search path = [u'/home/myuser/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /opt/ansible/local/lib/python2.7/site-packages/ansible\r\n  executable location = /opt/ansible/bin/ansible\r\n  python version = 2.7.12 \r\n```\r\n\r\n##### CONFIGURATION\r\n<!---\r\nIf using Ansible 2.4 or above, paste 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\n-->\r\n\r\n##### OS / ENVIRONMENT\r\n<!---\r\nN/A\r\n-->\r\n\r\n##### SUMMARY\r\nKeep getting syntax error here trying to use inline template \r\n$schema: \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\"\r\n\r\ni\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor 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\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n\r\n- name: Enable winRM\r\n    azure_rm_deployment:\r\n      state: present\r\n      resource_group_name: MyAzureRS\r\n      \r\n      variables: \r\n        location: \"South Central US\"\r\n      template:\r\n        $schema: \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\"\r\n        contentVersion: \"1.0.0.0\"\r\n        parameters:\r\n          mymachine: \r\n            type: \"string\"\r\n            metadata: \"window param\"      \r\n\r\n      resources: \r\n        - type: \"Microsoft.Compute/virtualMachines/extensions\"\r\n          name: \"[concat(parameters('mymachine'),'/ConfigureRemotingForAnsible')]\"\r\n          apiVersion: \"2015-06-15\"\r\n          location: \"[resourceGroup().location]\"\r\n          properties:\r\n            publisher: \"Microsoft.Compute\"\r\n            type: \"CustomScriptExtension\"\r\n            typeHandlerVersion: \"1.8\"\r\n            autoUpgradeMinorVersion: true\r\n            settings: \r\n              fileUris: \"https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1\"\r\n              commandToExecute: \"powershell.exe -ExecutionPolicy Unrestricted -File ConfigureRemotingForAnsible.ps1\"\r\n\r\n\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\nsuccess run\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\n\r\nsyntax error\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/375159612","html_url":"https://github.com/ansible/ansible/issues/37321#issuecomment-375159612","issue_url":"https://api.github.com/repos/ansible/ansible/issues/37321","id":375159612,"user":{"login":"zikalino","id":11562540,"avatar_url":"https://avatars1.githubusercontent.com/u/11562540?v=4","gravatar_id":"","url":"https://api.github.com/users/zikalino","html_url":"https://github.com/zikalino","followers_url":"https://api.github.com/users/zikalino/followers","following_url":"https://api.github.com/users/zikalino/following{/other_user}","gists_url":"https://api.github.com/users/zikalino/gists{/gist_id}","starred_url":"https://api.github.com/users/zikalino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zikalino/subscriptions","organizations_url":"https://api.github.com/users/zikalino/orgs","repos_url":"https://api.github.com/users/zikalino/repos","events_url":"https://api.github.com/users/zikalino/events{/privacy}","received_events_url":"https://api.github.com/users/zikalino/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T02:35:47Z","updated_at":"2018-03-22T02:35:47Z","author_association":"CONTRIBUTOR","body":"notabug"}}
{"actor":{"display_login":"zikalino"}}