{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/37847","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/37847/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/37847/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/37847/events","html_url":"https://github.com/ansible/ansible/pull/37847","id":308105589,"number":37847,"title":"Fix interfaces_file to accept allow-*","user":{"login":"schallee","id":997881,"avatar_url":"https://avatars1.githubusercontent.com/u/997881?v=4","gravatar_id":"","url":"https://api.github.com/users/schallee","html_url":"https://github.com/schallee","followers_url":"https://api.github.com/users/schallee/followers","following_url":"https://api.github.com/users/schallee/following{/other_user}","gists_url":"https://api.github.com/users/schallee/gists{/gist_id}","starred_url":"https://api.github.com/users/schallee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schallee/subscriptions","organizations_url":"https://api.github.com/users/schallee/orgs","repos_url":"https://api.github.com/users/schallee/repos","events_url":"https://api.github.com/users/schallee/events{/privacy}","received_events_url":"https://api.github.com/users/schallee/received_events","type":"User","site_admin":false},"labels":[{"id":785271699,"url":"https://api.github.com/repos/ansible/ansible/labels/bug","name":"bug","color":"fbca04","default":true},{"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":723150340,"url":"https://api.github.com/repos/ansible/ansible/labels/new_contributor","name":"new_contributor","color":"ededed","default":false},{"id":581543918,"url":"https://api.github.com/repos/ansible/ansible/labels/stale_ci","name":"stale_ci","color":"fef2c0","default":false},{"id":636327968,"url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-23T16:52:05Z","updated_at":"2018-04-19T07:58:10Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/37847","html_url":"https://github.com/ansible/ansible/pull/37847","diff_url":"https://github.com/ansible/ansible/pull/37847.diff","patch_url":"https://github.com/ansible/ansible/pull/37847.patch"},"body":"##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\n\r\nFixes #37846 \r\n\r\nAllow lines where the first word is allow-* as per the documentation.\r\n\r\nhttps://manpages.debian.org/stretch/ifupdown/interfaces.5.en.html\r\n\r\n<!---\r\nIf you are fixing an existing issue, please include \"Fixes #nnn\" in your\r\ncommit message and your description; but you should still explain what\r\nthe change does.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n\r\n - Bugfix Pull Request\r\n\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the module, plugin, module or task -->\r\n\r\ninterfaces_file\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.6.0 (devel c3ab6cb9b1) last updated 2018/03/23 10:34:51 (GMT -600)\r\n  config file = /home/schallee/devel/ansible/src/ansible.cfg\r\n  configured module search path = [u'/home/schallee/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /home/schallee/devel/ansible/src/lib/ansible\r\n  executable location = /home/schallee/devel/ansible/src/bin/ansible\r\n  python version = 2.7.13 (default, Nov 24 2017, 17:33:09) [GCC 6.3.0 20170516]\r\n```\r\n\r\n\r\n##### ADDITIONAL INFORMATION\r\n<!---\r\nInclude additional information to help people understand the change here.\r\nFor bugs that don't have a linked bug report, a step-by-step reproduction\r\nof the problem is helpful.\r\n  -->\r\n\r\n<!--- Paste verbatim command output below, e.g. before and after your change -->\r\n\r\nBefore:\r\n\r\n```\r\nTASK [get /etc/network/interfaces] ****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************\r\nfatal: [host]: FAILED! => {\r\n    \"changed\": false\r\n}\r\n\r\nMSG:\r\n\r\nmisplaced option allow-hotplug eth0\r\n in line 3\r\n\r\n```\r\nAfter:\r\n```\r\nTASK [get /etc/network/interfaces] ****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************\r\nok: [host]\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/382645670","html_url":"https://github.com/ansible/ansible/pull/37847#issuecomment-382645670","issue_url":"https://api.github.com/repos/ansible/ansible/issues/37847","id":382645670,"user":{"login":"obourdon","id":1381878,"avatar_url":"https://avatars0.githubusercontent.com/u/1381878?v=4","gravatar_id":"","url":"https://api.github.com/users/obourdon","html_url":"https://github.com/obourdon","followers_url":"https://api.github.com/users/obourdon/followers","following_url":"https://api.github.com/users/obourdon/following{/other_user}","gists_url":"https://api.github.com/users/obourdon/gists{/gist_id}","starred_url":"https://api.github.com/users/obourdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obourdon/subscriptions","organizations_url":"https://api.github.com/users/obourdon/orgs","repos_url":"https://api.github.com/users/obourdon/repos","events_url":"https://api.github.com/users/obourdon/events{/privacy}","received_events_url":"https://api.github.com/users/obourdon/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T07:58:10Z","updated_at":"2018-04-19T07:58:10Z","author_association":"CONTRIBUTOR","body":"Fixed by [#38996](https://github.com/ansible/ansible/pull/38996)"}}
{"actor":{"display_login":"obourdon"}}