{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/29383","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/29383/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/29383/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/29383/events","html_url":"https://github.com/ansible/ansible/issues/29383","id":256574535,"number":29383,"title":"Smart quotes in consul_session desc. block cause Ansible to error.","user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars0.githubusercontent.com/u/6585283?v=4","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"labels":[{"id":437720699,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.2","name":"affects_2.2","color":"5319e7","default":false},{"id":48276055,"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":636327968,"url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":30,"created_at":"2017-09-11T03:49:04Z","updated_at":"2017-09-11T03:52:14Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"From @chiefy on 2016-10-13T13:44:37Z\r\n<!--- Verify first that your issue/request is not already reported in GitHub -->\n##### ISSUE TYPE\n- Bug Report\n##### COMPONENT NAME\n\nconsul_session\n##### ANSIBLE VERSION\n\n```\nansible 2.2.0\n```\n##### CONFIGURATION\n\nn/a\n##### OS / ENVIRONMENT\n\ncentos 7\n##### SUMMARY\n\n[Smart-quotes in module code description block](https://github.com/ansible/ansible-modules-extras/blob/devel/clustering/consul_session.py#L106) causes ansible to barf.\n##### STEPS TO REPRODUCE\n\n<!--- Paste example playbooks or commands between quotes below -->\n\n```\n- name: Try to get or create session lock in consul\n  consul_session:\n    name: ucp_primary_lock\n    datacenter: development\n    state: present\n    validate_certs: False\n    register: ucp_consul_session_id\n```\n##### EXPECTED RESULTS\n\nNo errors relating to non-ASCII issue\n##### ACTUAL RESULTS\n\n```\n{\"changed\": false, \"failed\": true, \"module_stderr\": \"  File \\\"/tmp/ansible_jP41R1/ansible_module_consul_session.py\\\", line 106\\nSyntaxError: Non-ASCII character '\\\\xe2' in file /tmp/ansible_jP41R1/ansible_module_consul_session.py on line 107, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details\\n\", \"module_stdout\": \"\", \"msg\": \"MODULE FAILURE\"}\n```\n\r\nCopied from original issue: ansible/ansible-modules-extras#3157\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/328408746","html_url":"https://github.com/ansible/ansible/issues/29383#issuecomment-328408746","issue_url":"https://api.github.com/repos/ansible/ansible/issues/29383","id":328408746,"user":{"login":"ansibot","id":6585283,"avatar_url":"https://avatars0.githubusercontent.com/u/6585283?v=4","gravatar_id":"","url":"https://api.github.com/users/ansibot","html_url":"https://github.com/ansibot","followers_url":"https://api.github.com/users/ansibot/followers","following_url":"https://api.github.com/users/ansibot/following{/other_user}","gists_url":"https://api.github.com/users/ansibot/gists{/gist_id}","starred_url":"https://api.github.com/users/ansibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansibot/subscriptions","organizations_url":"https://api.github.com/users/ansibot/orgs","repos_url":"https://api.github.com/users/ansibot/repos","events_url":"https://api.github.com/users/ansibot/events{/privacy}","received_events_url":"https://api.github.com/users/ansibot/received_events","type":"User","site_admin":false},"created_at":"2017-09-11T03:52:14Z","updated_at":"2017-09-11T03:52:14Z","author_association":"CONTRIBUTOR","body":"From @ansibot on 2016-10-13T13:44:37Z\r\n\r\n@NO_MAINTAINER_FOUND, ping. This issue is waiting on your response.\n[click here for bot help](https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md)\n\n<!--- boilerplate: issue_notify_maintainer --->\n"}}
{"actor":{"display_login":"ansibot"}}