{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/20926","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/20926/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/20926/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/20926/events","html_url":"https://github.com/ansible/ansible/pull/20926","id":204598655,"number":20926,"title":"win_lineinfile backrefs bug fix and updated examples.","user":{"login":"johnnysheppard-isode","id":25364412,"avatar_url":"https://avatars.githubusercontent.com/u/25364412?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnysheppard-isode","html_url":"https://github.com/johnnysheppard-isode","followers_url":"https://api.github.com/users/johnnysheppard-isode/followers","following_url":"https://api.github.com/users/johnnysheppard-isode/following{/other_user}","gists_url":"https://api.github.com/users/johnnysheppard-isode/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnysheppard-isode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnysheppard-isode/subscriptions","organizations_url":"https://api.github.com/users/johnnysheppard-isode/orgs","repos_url":"https://api.github.com/users/johnnysheppard-isode/repos","events_url":"https://api.github.com/users/johnnysheppard-isode/events{/privacy}","received_events_url":"https://api.github.com/users/johnnysheppard-isode/received_events","type":"User","site_admin":false},"labels":[{"id":454885231,"url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.3","name":"affects_2.3","color":"5319e7","default":false},{"id":48276098,"url":"https://api.github.com/repos/ansible/ansible/labels/bugfix_pull_request","name":"bugfix_pull_request","color":"ded270","default":false},{"id":501518759,"url":"https://api.github.com/repos/ansible/ansible/labels/community_review","name":"community_review","color":"f9d0c4","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":108461331,"url":"https://api.github.com/repos/ansible/ansible/labels/windows","name":"windows","color":"777777","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-02-01T14:30:25Z","updated_at":"2017-02-10T11:37:00Z","closed_at":"2017-02-10T11:37:00Z","pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/20926","html_url":"https://github.com/ansible/ansible/pull/20926","diff_url":"https://github.com/ansible/ansible/pull/20926.diff","patch_url":"https://github.com/ansible/ansible/pull/20926.patch"},"body":"##### ISSUE TYPE\r\n - Bugfix Pull Request\r\n\r\n##### COMPONENT NAME\r\nwin_lineinfile\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible 2.3.0 (devel ba39d1158c) last updated 2017/02/01 11:36:04 (GMT +100)\r\n  config file = /home/js/.ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n\r\n```\r\n\r\n##### SUMMARY\r\nA small fix to win_lineinfile to help it be idempotent. Also updated the docs to give an example of using **backrefs**.\r\n\r\n- changed $backrefs to a bool so it works with true/false/yes/no.\r\n\r\nThis is based on an issue reported in the old core modules repository: https://github.com/ansible/ansible-modules-core/issues/3381"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/278922793","html_url":"https://github.com/ansible/ansible/pull/20926#issuecomment-278922793","issue_url":"https://api.github.com/repos/ansible/ansible/issues/20926","id":278922793,"user":{"login":"jhawkesworth","id":8440323,"avatar_url":"https://avatars.githubusercontent.com/u/8440323?v=3","gravatar_id":"","url":"https://api.github.com/users/jhawkesworth","html_url":"https://github.com/jhawkesworth","followers_url":"https://api.github.com/users/jhawkesworth/followers","following_url":"https://api.github.com/users/jhawkesworth/following{/other_user}","gists_url":"https://api.github.com/users/jhawkesworth/gists{/gist_id}","starred_url":"https://api.github.com/users/jhawkesworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhawkesworth/subscriptions","organizations_url":"https://api.github.com/users/jhawkesworth/orgs","repos_url":"https://api.github.com/users/jhawkesworth/repos","events_url":"https://api.github.com/users/jhawkesworth/events{/privacy}","received_events_url":"https://api.github.com/users/jhawkesworth/received_events","type":"User","site_admin":false},"created_at":"2017-02-10T11:37:00Z","updated_at":"2017-02-10T11:37:00Z","body":"closing and opening to trigger CI build"}}
{"actor":{"display_login":"jhawkesworth"}}