{"action":"created","comment":{"url":"https://api.github.com/repos/github/gitignore/pulls/comments/235811864","pull_request_review_id":177766384,"id":235811864,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTgxMTg2NA==","diff_hunk":"@@ -0,0 +1,11 @@\n+# Ansible retry files\n+*.retry\n+\n+# Test driven development on Ansible with Molecule, Testinfra and pytest\n+.cache/\n+.idea/","path":"Ansible.gitignore","position":6,"original_position":6,"commit_id":"89527e6967488d18529d13a695919271d67b77f1","original_commit_id":"89527e6967488d18529d13a695919271d67b77f1","user":{"login":"shiftkey","id":359239,"node_id":"MDQ6VXNlcjM1OTIzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/359239?v=4","gravatar_id":"","url":"https://api.github.com/users/shiftkey","html_url":"https://github.com/shiftkey","followers_url":"https://api.github.com/users/shiftkey/followers","following_url":"https://api.github.com/users/shiftkey/following{/other_user}","gists_url":"https://api.github.com/users/shiftkey/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftkey/subscriptions","organizations_url":"https://api.github.com/users/shiftkey/orgs","repos_url":"https://api.github.com/users/shiftkey/repos","events_url":"https://api.github.com/users/shiftkey/events{/privacy}","received_events_url":"https://api.github.com/users/shiftkey/received_events","type":"User","site_admin":true},"body":"Some of these rules are covered by other templates we maintain - `Global/JetBrains.gitignore` and `Python.gitignore` come to mind. Are we able to distill these rules down to just what Ansible needs?","created_at":"2018-11-22T20:03:49Z","updated_at":"2018-11-22T20:03:49Z","html_url":"https://github.com/github/gitignore/pull/2326#discussion_r235811864","pull_request_url":"https://api.github.com/repos/github/gitignore/pulls/2326","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/github/gitignore/pulls/comments/235811864"},"html":{"href":"https://github.com/github/gitignore/pull/2326#discussion_r235811864"},"pull_request":{"href":"https://api.github.com/repos/github/gitignore/pulls/2326"}}},"pull_request":{"url":"https://api.github.com/repos/github/gitignore/pulls/2326","id":111141586,"node_id":"MDExOlB1bGxSZXF1ZXN0MTExMTQxNTg2","html_url":"https://github.com/github/gitignore/pull/2326","diff_url":"https://github.com/github/gitignore/pull/2326.diff","patch_url":"https://github.com/github/gitignore/pull/2326.patch","issue_url":"https://api.github.com/repos/github/gitignore/issues/2326","number":2326,"state":"open","locked":false,"title":"Add new gitignore for Ansible test driven development","user":{"login":"avnes","id":20299875,"node_id":"MDQ6VXNlcjIwMjk5ODc1","avatar_url":"https://avatars1.githubusercontent.com/u/20299875?v=4","gravatar_id":"","url":"https://api.github.com/users/avnes","html_url":"https://github.com/avnes","followers_url":"https://api.github.com/users/avnes/followers","following_url":"https://api.github.com/users/avnes/following{/other_user}","gists_url":"https://api.github.com/users/avnes/gists{/gist_id}","starred_url":"https://api.github.com/users/avnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avnes/subscriptions","organizations_url":"https://api.github.com/users/avnes/orgs","repos_url":"https://api.github.com/users/avnes/repos","events_url":"https://api.github.com/users/avnes/events{/privacy}","received_events_url":"https://api.github.com/users/avnes/received_events","type":"User","site_admin":false},"body":"Ansible is an automation framework that consist of a series of playbooks written in YAML. \r\n\r\nReusable collections of playbooks are called roles, and roles can be shared with the world at https://galaxy.ansible.com/\r\n\r\nThe best practice is to use test driven development when creating these Ansible, and a common test framework in that regard is Molecule, which relies on the Testinfra framework (Python based), which in turn supports the Python pytest framework. \r\n\r\nThis Ansible.gitignore will contain support for doing  test driven development on Ansible, and hence ignoring meta files or binary files created by these test frameworks.\r\n\r\n**Links to documentation supporting these rule changes:** \r\nhttp://docs.ansible.com/ansible/intro_configuration.html#retry-files-enabled\r\nhttps://molecule.readthedocs.io/en/stable-1.21/index.html\r\nhttps://testinfra.readthedocs.io/en/latest/index.html\r\nhttp://doc.pytest.org/en/latest/\r\n\r\nIf this is a new template: \r\n\r\n - **Link to application or project’s homepage**:  https://www.ansible.com/\r\n","created_at":"2017-03-16T18:59:01Z","updated_at":"2018-11-22T20:03:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4aac3b208f3044f66f270273f6bfc750c586fb54","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":336948583,"node_id":"MDU6TGFiZWwzMzY5NDg1ODM=","url":"https://api.github.com/repos/github/gitignore/labels/new%20template","name":"new template","color":"eb6420","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/github/gitignore/pulls/2326/commits","review_comments_url":"https://api.github.com/repos/github/gitignore/pulls/2326/comments","review_comment_url":"https://api.github.com/repos/github/gitignore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/gitignore/issues/2326/comments","statuses_url":"https://api.github.com/repos/github/gitignore/statuses/89527e6967488d18529d13a695919271d67b77f1","head":{"label":"avnes:feature/ansible_gitignore","ref":"feature/ansible_gitignore","sha":"89527e6967488d18529d13a695919271d67b77f1","user":{"login":"avnes","id":20299875,"node_id":"MDQ6VXNlcjIwMjk5ODc1","avatar_url":"https://avatars1.githubusercontent.com/u/20299875?v=4","gravatar_id":"","url":"https://api.github.com/users/avnes","html_url":"https://github.com/avnes","followers_url":"https://api.github.com/users/avnes/followers","following_url":"https://api.github.com/users/avnes/following{/other_user}","gists_url":"https://api.github.com/users/avnes/gists{/gist_id}","starred_url":"https://api.github.com/users/avnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avnes/subscriptions","organizations_url":"https://api.github.com/users/avnes/orgs","repos_url":"https://api.github.com/users/avnes/repos","events_url":"https://api.github.com/users/avnes/events{/privacy}","received_events_url":"https://api.github.com/users/avnes/received_events","type":"User","site_admin":false},"repo":{"id":85227165,"node_id":"MDEwOlJlcG9zaXRvcnk4NTIyNzE2NQ==","name":"gitignore","full_name":"avnes/gitignore","private":false,"owner":{"login":"avnes","id":20299875,"node_id":"MDQ6VXNlcjIwMjk5ODc1","avatar_url":"https://avatars1.githubusercontent.com/u/20299875?v=4","gravatar_id":"","url":"https://api.github.com/users/avnes","html_url":"https://github.com/avnes","followers_url":"https://api.github.com/users/avnes/followers","following_url":"https://api.github.com/users/avnes/following{/other_user}","gists_url":"https://api.github.com/users/avnes/gists{/gist_id}","starred_url":"https://api.github.com/users/avnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avnes/subscriptions","organizations_url":"https://api.github.com/users/avnes/orgs","repos_url":"https://api.github.com/users/avnes/repos","events_url":"https://api.github.com/users/avnes/events{/privacy}","received_events_url":"https://api.github.com/users/avnes/received_events","type":"User","site_admin":false},"html_url":"https://github.com/avnes/gitignore","description":"A collection of useful .gitignore templates","fork":true,"url":"https://api.github.com/repos/avnes/gitignore","forks_url":"https://api.github.com/repos/avnes/gitignore/forks","keys_url":"https://api.github.com/repos/avnes/gitignore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avnes/gitignore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avnes/gitignore/teams","hooks_url":"https://api.github.com/repos/avnes/gitignore/hooks","issue_events_url":"https://api.github.com/repos/avnes/gitignore/issues/events{/number}","events_url":"https://api.github.com/repos/avnes/gitignore/events","assignees_url":"https://api.github.com/repos/avnes/gitignore/assignees{/user}","branches_url":"https://api.github.com/repos/avnes/gitignore/branches{/branch}","tags_url":"https://api.github.com/repos/avnes/gitignore/tags","blobs_url":"https://api.github.com/repos/avnes/gitignore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avnes/gitignore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avnes/gitignore/git/refs{/sha}","trees_url":"https://api.github.com/repos/avnes/gitignore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avnes/gitignore/statuses/{sha}","languages_url":"https://api.github.com/repos/avnes/gitignore/languages","stargazers_url":"https://api.github.com/repos/avnes/gitignore/stargazers","contributors_url":"https://api.github.com/repos/avnes/gitignore/contributors","subscribers_url":"https://api.github.com/repos/avnes/gitignore/subscribers","subscription_url":"https://api.github.com/repos/avnes/gitignore/subscription","commits_url":"https://api.github.com/repos/avnes/gitignore/commits{/sha}","git_commits_url":"https://api.github.com/repos/avnes/gitignore/git/commits{/sha}","comments_url":"https://api.github.com/repos/avnes/gitignore/comments{/number}","issue_comment_url":"https://api.github.com/repos/avnes/gitignore/issues/comments{/number}","contents_url":"https://api.github.com/repos/avnes/gitignore/contents/{+path}","compare_url":"https://api.github.com/repos/avnes/gitignore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avnes/gitignore/merges","archive_url":"https://api.github.com/repos/avnes/gitignore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avnes/gitignore/downloads","issues_url":"https://api.github.com/repos/avnes/gitignore/issues{/number}","pulls_url":"https://api.github.com/repos/avnes/gitignore/pulls{/number}","milestones_url":"https://api.github.com/repos/avnes/gitignore/milestones{/number}","notifications_url":"https://api.github.com/repos/avnes/gitignore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avnes/gitignore/labels{/name}","releases_url":"https://api.github.com/repos/avnes/gitignore/releases{/id}","deployments_url":"https://api.github.com/repos/avnes/gitignore/deployments","created_at":"2017-03-16T18:05:17Z","updated_at":"2017-03-16T17:58:07Z","pushed_at":"2017-03-22T15:41:38Z","git_url":"git://github.com/avnes/gitignore.git","ssh_url":"git@github.com:avnes/gitignore.git","clone_url":"https://github.com/avnes/gitignore.git","svn_url":"https://github.com/avnes/gitignore","homepage":"","size":1356,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0","node_id":"MDc6TGljZW5zZTY="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"github:master","ref":"master","sha":"35c010258fc790ad769033e9ccfb1021178f2925","user":{"login":"github","id":9919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9919?v=4","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":1062897,"node_id":"MDEwOlJlcG9zaXRvcnkxMDYyODk3","name":"gitignore","full_name":"github/gitignore","private":false,"owner":{"login":"github","id":9919,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk5MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/9919?v=4","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github/gitignore","description":"A collection of useful .gitignore templates","fork":false,"url":"https://api.github.com/repos/github/gitignore","forks_url":"https://api.github.com/repos/github/gitignore/forks","keys_url":"https://api.github.com/repos/github/gitignore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/gitignore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/gitignore/teams","hooks_url":"https://api.github.com/repos/github/gitignore/hooks","issue_events_url":"https://api.github.com/repos/github/gitignore/issues/events{/number}","events_url":"https://api.github.com/repos/github/gitignore/events","assignees_url":"https://api.github.com/repos/github/gitignore/assignees{/user}","branches_url":"https://api.github.com/repos/github/gitignore/branches{/branch}","tags_url":"https://api.github.com/repos/github/gitignore/tags","blobs_url":"https://api.github.com/repos/github/gitignore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/gitignore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/gitignore/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/gitignore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/gitignore/statuses/{sha}","languages_url":"https://api.github.com/repos/github/gitignore/languages","stargazers_url":"https://api.github.com/repos/github/gitignore/stargazers","contributors_url":"https://api.github.com/repos/github/gitignore/contributors","subscribers_url":"https://api.github.com/repos/github/gitignore/subscribers","subscription_url":"https://api.github.com/repos/github/gitignore/subscription","commits_url":"https://api.github.com/repos/github/gitignore/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/gitignore/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/gitignore/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/gitignore/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/gitignore/contents/{+path}","compare_url":"https://api.github.com/repos/github/gitignore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/gitignore/merges","archive_url":"https://api.github.com/repos/github/gitignore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/gitignore/downloads","issues_url":"https://api.github.com/repos/github/gitignore/issues{/number}","pulls_url":"https://api.github.com/repos/github/gitignore/pulls{/number}","milestones_url":"https://api.github.com/repos/github/gitignore/milestones{/number}","notifications_url":"https://api.github.com/repos/github/gitignore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/gitignore/labels{/name}","releases_url":"https://api.github.com/repos/github/gitignore/releases{/id}","deployments_url":"https://api.github.com/repos/github/gitignore/deployments","created_at":"2010-11-08T20:17:14Z","updated_at":"2018-11-22T19:41:30Z","pushed_at":"2018-11-22T19:41:13Z","git_url":"git://github.com/github/gitignore.git","ssh_url":"git@github.com:github/gitignore.git","clone_url":"https://github.com/github/gitignore.git","svn_url":"https://github.com/github/gitignore","homepage":"","size":1767,"stargazers_count":75464,"watchers_count":75464,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":35760,"mirror_url":null,"archived":false,"open_issues_count":142,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0","node_id":"MDc6TGljZW5zZTY="},"forks":35760,"open_issues":142,"watchers":75464,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/gitignore/pulls/2326"},"html":{"href":"https://github.com/github/gitignore/pull/2326"},"issue":{"href":"https://api.github.com/repos/github/gitignore/issues/2326"},"comments":{"href":"https://api.github.com/repos/github/gitignore/issues/2326/comments"},"review_comments":{"href":"https://api.github.com/repos/github/gitignore/pulls/2326/comments"},"review_comment":{"href":"https://api.github.com/repos/github/gitignore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/gitignore/pulls/2326/commits"},"statuses":{"href":"https://api.github.com/repos/github/gitignore/statuses/89527e6967488d18529d13a695919271d67b77f1"}},"author_association":"NONE"}}
{"actor":{"display_login":"shiftkey"}}