{"action":"created","issue":{"url":"https://api.github.com/repos/geerlingguy/ansible-role-mysql/issues/99","repository_url":"https://api.github.com/repos/geerlingguy/ansible-role-mysql","labels_url":"https://api.github.com/repos/geerlingguy/ansible-role-mysql/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/geerlingguy/ansible-role-mysql/issues/99/comments","events_url":"https://api.github.com/repos/geerlingguy/ansible-role-mysql/issues/99/events","html_url":"https://github.com/geerlingguy/ansible-role-mysql/pull/99","id":145450374,"number":99,"title":"don't fail in --check mode","user":{"login":"drzraf","id":1169926,"avatar_url":"https://avatars.githubusercontent.com/u/1169926?v=3","gravatar_id":"","url":"https://api.github.com/users/drzraf","html_url":"https://github.com/drzraf","followers_url":"https://api.github.com/users/drzraf/followers","following_url":"https://api.github.com/users/drzraf/following{/other_user}","gists_url":"https://api.github.com/users/drzraf/gists{/gist_id}","starred_url":"https://api.github.com/users/drzraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drzraf/subscriptions","organizations_url":"https://api.github.com/users/drzraf/orgs","repos_url":"https://api.github.com/users/drzraf/repos","events_url":"https://api.github.com/users/drzraf/events{/privacy}","received_events_url":"https://api.github.com/users/drzraf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-03T04:03:10Z","updated_at":"2016-06-13T03:06:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/geerlingguy/ansible-role-mysql/pulls/99","html_url":"https://github.com/geerlingguy/ansible-role-mysql/pull/99","diff_url":"https://github.com/geerlingguy/ansible-role-mysql/pull/99.diff","patch_url":"https://github.com/geerlingguy/ansible-role-mysql/pull/99.patch"},"body":"In check-mode, mysql_root_hosts is an object containing `{'skipped': True}`\r\nThe when condition apply for *each* item (thus it does not prevent task execution, even if the with_items parameter isn't an array (the `when` will be run `mysql_root_hosts.stdout_lines | count` times).\r\nThus in --check mode, and to avoid an error, we need to set a valid (an noop) default value)"},"comment":{"url":"https://api.github.com/repos/geerlingguy/ansible-role-mysql/issues/comments/225480831","html_url":"https://github.com/geerlingguy/ansible-role-mysql/pull/99#issuecomment-225480831","issue_url":"https://api.github.com/repos/geerlingguy/ansible-role-mysql/issues/99","id":225480831,"user":{"login":"geerlingguy","id":481677,"avatar_url":"https://avatars.githubusercontent.com/u/481677?v=3","gravatar_id":"","url":"https://api.github.com/users/geerlingguy","html_url":"https://github.com/geerlingguy","followers_url":"https://api.github.com/users/geerlingguy/followers","following_url":"https://api.github.com/users/geerlingguy/following{/other_user}","gists_url":"https://api.github.com/users/geerlingguy/gists{/gist_id}","starred_url":"https://api.github.com/users/geerlingguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geerlingguy/subscriptions","organizations_url":"https://api.github.com/users/geerlingguy/orgs","repos_url":"https://api.github.com/users/geerlingguy/repos","events_url":"https://api.github.com/users/geerlingguy/events{/privacy}","received_events_url":"https://api.github.com/users/geerlingguy/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T03:06:10Z","updated_at":"2016-06-13T03:06:10Z","body":"This was fixed in https://github.com/geerlingguy/ansible-role-mysql/pull/130"}}
{"actor":{"display_login":"geerlingguy"}}