{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2007","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2007/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2007/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2007/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/2007","id":104651615,"number":2007,"title":"add check_mode fact to setup module","user":{"login":"ibotty","id":296430,"avatar_url":"https://avatars.githubusercontent.com/u/296430?v=3","gravatar_id":"","url":"https://api.github.com/users/ibotty","html_url":"https://github.com/ibotty","followers_url":"https://api.github.com/users/ibotty/followers","following_url":"https://api.github.com/users/ibotty/following{/other_user}","gists_url":"https://api.github.com/users/ibotty/gists{/gist_id}","starred_url":"https://api.github.com/users/ibotty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibotty/subscriptions","organizations_url":"https://api.github.com/users/ibotty/orgs","repos_url":"https://api.github.com/users/ibotty/repos","events_url":"https://api.github.com/users/ibotty/events{/privacy}","received_events_url":"https://api.github.com/users/ibotty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/core_review","name":"core_review","color":"fad8c7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/easyfix","name":"easyfix","color":"d4c5f9"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_pull_request","name":"feature_pull_request","color":"009800"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/P3","name":"P3","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-03T09:04:45Z","updated_at":"2015-09-10T06:44:32Z","closed_at":"2015-09-10T01:39:23Z","pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2007","html_url":"https://github.com/ansible/ansible-modules-core/pull/2007","diff_url":"https://github.com/ansible/ansible-modules-core/pull/2007.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/2007.patch"},"body":"closes ansible/ansible#10696"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/139131490","html_url":"https://github.com/ansible/ansible-modules-core/pull/2007#issuecomment-139131490","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2007","id":139131490,"user":{"login":"ibotty","id":296430,"avatar_url":"https://avatars.githubusercontent.com/u/296430?v=3","gravatar_id":"","url":"https://api.github.com/users/ibotty","html_url":"https://github.com/ibotty","followers_url":"https://api.github.com/users/ibotty/followers","following_url":"https://api.github.com/users/ibotty/following{/other_user}","gists_url":"https://api.github.com/users/ibotty/gists{/gist_id}","starred_url":"https://api.github.com/users/ibotty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibotty/subscriptions","organizations_url":"https://api.github.com/users/ibotty/orgs","repos_url":"https://api.github.com/users/ibotty/repos","events_url":"https://api.github.com/users/ibotty/events{/privacy}","received_events_url":"https://api.github.com/users/ibotty/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T06:44:32Z","updated_at":"2015-09-10T06:44:32Z","body":"I am new to ansible codebase, so I might be totally wrong here, but...\r\n\r\nIn `VariableManager,get_vars`, is there any way to get to the PlayContext? AFAICT, it's not possible with that signature. Does it make sense to change the signature to use the `PlayContext` instead of the `Playbook`? If not, how can I get the information, that we are in check mode from within the `VariableManager`?"}}