{"action":"created","issue":{"url":"https://api.github.com/repos/plone/ansible.plone_server/issues/32","labels_url":"https://api.github.com/repos/plone/ansible.plone_server/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/plone/ansible.plone_server/issues/32/comments","events_url":"https://api.github.com/repos/plone/ansible.plone_server/issues/32/events","html_url":"https://github.com/plone/ansible.plone_server/pull/32","id":97803832,"number":32,"title":"Fixes issue #31, ensure string to boolean casting.","user":{"login":"jpgimenez","id":118895,"avatar_url":"https://avatars.githubusercontent.com/u/118895?v=3","gravatar_id":"","url":"https://api.github.com/users/jpgimenez","html_url":"https://github.com/jpgimenez","followers_url":"https://api.github.com/users/jpgimenez/followers","following_url":"https://api.github.com/users/jpgimenez/following{/other_user}","gists_url":"https://api.github.com/users/jpgimenez/gists{/gist_id}","starred_url":"https://api.github.com/users/jpgimenez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpgimenez/subscriptions","organizations_url":"https://api.github.com/users/jpgimenez/orgs","repos_url":"https://api.github.com/users/jpgimenez/repos","events_url":"https://api.github.com/users/jpgimenez/events{/privacy}","received_events_url":"https://api.github.com/users/jpgimenez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-28T21:16:06Z","updated_at":"2015-07-29T01:15:53Z","closed_at":"2015-07-28T22:24:24Z","pull_request":{"url":"https://api.github.com/repos/plone/ansible.plone_server/pulls/32","html_url":"https://github.com/plone/ansible.plone_server/pull/32","diff_url":"https://github.com/plone/ansible.plone_server/pull/32.diff","patch_url":"https://github.com/plone/ansible.plone_server/pull/32.patch"},"body":"this way seems to be the better way to cast the string to boolean for the when expression, I tested and works well with this values:\r\nplone_buildout_git_repo: no\r\nplone_buildout_git_repo: git@github.com:myrepo.git\r\nplone_buildout_git_repo: \"git@github.com:myrepo.git\"\r\n"},"comment":{"url":"https://api.github.com/repos/plone/ansible.plone_server/issues/comments/125796061","html_url":"https://github.com/plone/ansible.plone_server/pull/32#issuecomment-125796061","issue_url":"https://api.github.com/repos/plone/ansible.plone_server/issues/32","id":125796061,"user":{"login":"jpgimenez","id":118895,"avatar_url":"https://avatars.githubusercontent.com/u/118895?v=3","gravatar_id":"","url":"https://api.github.com/users/jpgimenez","html_url":"https://github.com/jpgimenez","followers_url":"https://api.github.com/users/jpgimenez/followers","following_url":"https://api.github.com/users/jpgimenez/following{/other_user}","gists_url":"https://api.github.com/users/jpgimenez/gists{/gist_id}","starred_url":"https://api.github.com/users/jpgimenez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpgimenez/subscriptions","organizations_url":"https://api.github.com/users/jpgimenez/orgs","repos_url":"https://api.github.com/users/jpgimenez/repos","events_url":"https://api.github.com/users/jpgimenez/events{/privacy}","received_events_url":"https://api.github.com/users/jpgimenez/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T01:15:53Z","updated_at":"2015-07-29T01:15:53Z","body":"thanks @smcmahon "}}