{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2010","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2010/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2010/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2010/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/2010","id":104772579,"number":2010,"title":"cron module: add enviroment variables management","user":{"login":"lberruti","id":1135605,"avatar_url":"https://avatars.githubusercontent.com/u/1135605?v=3","gravatar_id":"","url":"https://api.github.com/users/lberruti","html_url":"https://github.com/lberruti","followers_url":"https://api.github.com/users/lberruti/followers","following_url":"https://api.github.com/users/lberruti/following{/other_user}","gists_url":"https://api.github.com/users/lberruti/gists{/gist_id}","starred_url":"https://api.github.com/users/lberruti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lberruti/subscriptions","organizations_url":"https://api.github.com/users/lberruti/orgs","repos_url":"https://api.github.com/users/lberruti/repos","events_url":"https://api.github.com/users/lberruti/events{/privacy}","received_events_url":"https://api.github.com/users/lberruti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/community_review","name":"community_review","color":"fad8c7"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_pull_request","name":"feature_pull_request","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-03T20:14:12Z","updated_at":"2016-01-22T17:36:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2010","html_url":"https://github.com/ansible/ansible-modules-core/pull/2010","diff_url":"https://github.com/ansible/ansible-modules-core/pull/2010.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/2010.patch"},"body":"```\r\n# Creates an entry like \"PATH=/opt/bin\" on top of crontab\r\n- cron: name=PATH env=yes value=/opt/bin\r\n\r\n# Creates an entry like \"APP_HOME=/srv/app\" and insert it after PATH declaration\r\n- cron: name=APP_HOME env=yes value=/srv/app insertafter=PATH\r\n\r\n# Removes \"APP_HOME\" environment variable from crontab\r\n- cron: name=APP_HOME env=yes state=absent\r\n```\r\n\r\nHope it can be merged: it's been waiting since August 2014.\r\n\r\nRebased version of #83"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/173987806","html_url":"https://github.com/ansible/ansible-modules-core/pull/2010#issuecomment-173987806","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2010","id":173987806,"user":{"login":"gregdek","id":252125,"avatar_url":"https://avatars.githubusercontent.com/u/252125?v=3","gravatar_id":"","url":"https://api.github.com/users/gregdek","html_url":"https://github.com/gregdek","followers_url":"https://api.github.com/users/gregdek/followers","following_url":"https://api.github.com/users/gregdek/following{/other_user}","gists_url":"https://api.github.com/users/gregdek/gists{/gist_id}","starred_url":"https://api.github.com/users/gregdek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregdek/subscriptions","organizations_url":"https://api.github.com/users/gregdek/orgs","repos_url":"https://api.github.com/users/gregdek/repos","events_url":"https://api.github.com/users/gregdek/events{/privacy}","received_events_url":"https://api.github.com/users/gregdek/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T17:36:58Z","updated_at":"2016-01-22T17:36:58Z","body":"Thanks @lberruti. @dsummersl @EvanK please review according to guidelines (http://docs.ansible.com/ansible/developing_modules.html#module-checklist) and comment with text 'shipit' or 'needs_revision' as appropriate."}}