{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/13240","labels_url":"https://api.github.com/repos/ansible/ansible/issues/13240/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/13240/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/13240/events","html_url":"https://github.com/ansible/ansible/issues/13240","id":118110825,"number":13240,"title":"Ansible 2.0 does not allow special chars in SUDO password","user":{"login":"ThomasSteinbach","id":1683246,"avatar_url":"https://avatars.githubusercontent.com/u/1683246?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasSteinbach","html_url":"https://github.com/ThomasSteinbach","followers_url":"https://api.github.com/users/ThomasSteinbach/followers","following_url":"https://api.github.com/users/ThomasSteinbach/following{/other_user}","gists_url":"https://api.github.com/users/ThomasSteinbach/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasSteinbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasSteinbach/subscriptions","organizations_url":"https://api.github.com/users/ThomasSteinbach/orgs","repos_url":"https://api.github.com/users/ThomasSteinbach/repos","events_url":"https://api.github.com/users/ThomasSteinbach/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasSteinbach/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible/labels/pending_closure","name":"pending_closure","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/5","html_url":"https://github.com/ansible/ansible/milestones/v2","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/5/labels","id":975800,"number":5,"title":"v2","description":null,"creator":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"open_issues":26,"closed_issues":525,"state":"open","created_at":"2015-02-11T19:43:06Z","updated_at":"2015-11-25T02:52:34Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-11-20T19:34:17Z","updated_at":"2015-11-25T02:52:34Z","closed_at":"2015-11-25T02:52:34Z","body":"I have a Playbook which is configured with `become: true` started it with the option `--ask-become-pass`. When it asks for the SUDO password, I entered a password with many special chars, like _k§=aI$nt_\r\n\r\nWith this (example) password I get the following error:\r\n\r\n```\r\nfatal: [serverxxxxx]: FAILED! => {\"failed\": true, \"msg\": \"ERROR! the field 'become_pass' has an invalid value (k§=aI$nt), and could not be converted to an string. Error was: 'ascii' codec can't decode byte 0xc2 in position 1: ordinal not in range(128)\"}\r\n```\r\n\r\nIn Ansible 1.9.4 I had no problems with `sudo: yes` and `--ask-sudo-password`."}}