{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5377","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5377/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5377/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5377/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/5377","id":185129727,"number":5377,"title":"Implement task module to read file contents and store their contents …","user":{"login":"dcotet","id":4608579,"avatar_url":"https://avatars.githubusercontent.com/u/4608579?v=3","gravatar_id":"","url":"https://api.github.com/users/dcotet","html_url":"https://github.com/dcotet","followers_url":"https://api.github.com/users/dcotet/followers","following_url":"https://api.github.com/users/dcotet/following{/other_user}","gists_url":"https://api.github.com/users/dcotet/gists{/gist_id}","starred_url":"https://api.github.com/users/dcotet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcotet/subscriptions","organizations_url":"https://api.github.com/users/dcotet/orgs","repos_url":"https://api.github.com/users/dcotet/repos","events_url":"https://api.github.com/users/dcotet/events{/privacy}","received_events_url":"https://api.github.com/users/dcotet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/needs_revision","name":"needs_revision","color":"eb6420"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/new_plugin","name":"new_plugin","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-25T14:12:56Z","updated_at":"2016-10-25T15:25:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/5377","html_url":"https://github.com/ansible/ansible-modules-core/pull/5377","diff_url":"https://github.com/ansible/ansible-modules-core/pull/5377.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/5377.patch"},"body":"##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Feature Pull Request\r\n - New Module Pull Request\r\n\r\n##### COMPONENT NAME\r\ncore/files/read\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.3.0\r\n```\r\n\r\n##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\nWe tried to read some remote file with Ansible playbook to store its content into a register for later use, unfortunately, we were obligated to use \"command: cat\", which is not very elegant.\r\n\r\nThat's why we created that Ansible component : If you need to read the contents of a remote file, you will be able to.\r\n\r\nIn the contrary of lookup(), read() will be able to read remote file of the deployed server."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/256068175","html_url":"https://github.com/ansible/ansible-modules-core/pull/5377#issuecomment-256068175","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/5377","id":256068175,"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-10-25T15:25:09Z","updated_at":"2016-10-25T15:25:09Z","body":"Thanks @dcotet for this PR. This PR requires revisions, either because it fails to build or by reviewer request. Please make the suggested revisions. When you are done, please comment with text 'ready_for_review' and we will put this PR back into review.\n\n[This message brought to you by your friendly Ansibull-bot.]"}}
{"actor":{"display_login":"gregdek"}}