{"action":"created","comment":{"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/comments/67283148","id":67283148,"diff_hunk":"@@ -0,0 +1,41 @@\n+delete-files\n+=========\n+\n+Role to search and recursively delete files matching a location and glob \n+\n+Requirements\n+------------\n+\n+\n+Role Variables\n+--------------\n+\n+- `LOCATION` - the location where you want to recursively search for a file matching the glob \n+- `GLOB` - the glob you wish to search for file based off of\n+\n+Dependencies\n+------------\n+\n+Example Playbook\n+----------------\n+\n+Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:\n+\n+```\n+- hosts: all\n+  roles:\n+    - { role: delete-files,\n+        LOCATION: \"/opt/dev/atmosphere\",\n+        GLOB: \"*.pyc\",\n+        tags: ['atmosphere'] }","path":"roles/delete-files/README.md","position":30,"original_position":30,"commit_id":"edf8f8309a54c06c8a3e6f483bed71c5c3718846","original_commit_id":"edf8f8309a54c06c8a3e6f483bed71c5c3718846","user":{"login":"lenards","id":5923,"avatar_url":"https://avatars.githubusercontent.com/u/5923?v=3","gravatar_id":"","url":"https://api.github.com/users/lenards","html_url":"https://github.com/lenards","followers_url":"https://api.github.com/users/lenards/followers","following_url":"https://api.github.com/users/lenards/following{/other_user}","gists_url":"https://api.github.com/users/lenards/gists{/gist_id}","starred_url":"https://api.github.com/users/lenards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenards/subscriptions","organizations_url":"https://api.github.com/users/lenards/orgs","repos_url":"https://api.github.com/users/lenards/repos","events_url":"https://api.github.com/users/lenards/events{/privacy}","received_events_url":"https://api.github.com/users/lenards/received_events","type":"User","site_admin":false},"body":":+1:","created_at":"2016-06-16T03:38:02Z","updated_at":"2016-06-16T03:38:02Z","html_url":"https://github.com/iPlantCollaborativeOpenSource/clank/pull/58#discussion_r67283148","pull_request_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/comments/67283148"},"html":{"href":"https://github.com/iPlantCollaborativeOpenSource/clank/pull/58#discussion_r67283148"},"pull_request":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/58","id":74006737,"html_url":"https://github.com/iPlantCollaborativeOpenSource/clank/pull/58","diff_url":"https://github.com/iPlantCollaborativeOpenSource/clank/pull/58.diff","patch_url":"https://github.com/iPlantCollaborativeOpenSource/clank/pull/58.patch","issue_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/issues/58","number":58,"state":"open","locked":false,"title":"Remove pycs","user":{"login":"amercer1","id":790330,"avatar_url":"https://avatars.githubusercontent.com/u/790330?v=3","gravatar_id":"","url":"https://api.github.com/users/amercer1","html_url":"https://github.com/amercer1","followers_url":"https://api.github.com/users/amercer1/followers","following_url":"https://api.github.com/users/amercer1/following{/other_user}","gists_url":"https://api.github.com/users/amercer1/gists{/gist_id}","starred_url":"https://api.github.com/users/amercer1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amercer1/subscriptions","organizations_url":"https://api.github.com/users/amercer1/orgs","repos_url":"https://api.github.com/users/amercer1/repos","events_url":"https://api.github.com/users/amercer1/events{/privacy}","received_events_url":"https://api.github.com/users/amercer1/received_events","type":"User","site_admin":false},"body":"This is to address issue [55](https://github.com/iPlantCollaborativeOpenSource/clank/issues/55). This role is generic and can accept a location to recursively search down and matching a file glob that is provided. Then nuke it. It as has been added to the setup_atmosphere.yml playbook so we should be able to remove that issue going forward.","created_at":"2016-06-16T00:40:40Z","updated_at":"2016-06-16T03:38:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65084fa148f258edc117577039b42215e9ae6ef6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/58/commits","review_comments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/58/comments","review_comment_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/issues/58/comments","statuses_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/statuses/edf8f8309a54c06c8a3e6f483bed71c5c3718846","head":{"label":"amercer1:remove_pycs","ref":"remove_pycs","sha":"edf8f8309a54c06c8a3e6f483bed71c5c3718846","user":{"login":"amercer1","id":790330,"avatar_url":"https://avatars.githubusercontent.com/u/790330?v=3","gravatar_id":"","url":"https://api.github.com/users/amercer1","html_url":"https://github.com/amercer1","followers_url":"https://api.github.com/users/amercer1/followers","following_url":"https://api.github.com/users/amercer1/following{/other_user}","gists_url":"https://api.github.com/users/amercer1/gists{/gist_id}","starred_url":"https://api.github.com/users/amercer1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amercer1/subscriptions","organizations_url":"https://api.github.com/users/amercer1/orgs","repos_url":"https://api.github.com/users/amercer1/repos","events_url":"https://api.github.com/users/amercer1/events{/privacy}","received_events_url":"https://api.github.com/users/amercer1/received_events","type":"User","site_admin":false},"repo":{"id":56001915,"name":"clank","full_name":"amercer1/clank","owner":{"login":"amercer1","id":790330,"avatar_url":"https://avatars.githubusercontent.com/u/790330?v=3","gravatar_id":"","url":"https://api.github.com/users/amercer1","html_url":"https://github.com/amercer1","followers_url":"https://api.github.com/users/amercer1/followers","following_url":"https://api.github.com/users/amercer1/following{/other_user}","gists_url":"https://api.github.com/users/amercer1/gists{/gist_id}","starred_url":"https://api.github.com/users/amercer1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amercer1/subscriptions","organizations_url":"https://api.github.com/users/amercer1/orgs","repos_url":"https://api.github.com/users/amercer1/repos","events_url":"https://api.github.com/users/amercer1/events{/privacy}","received_events_url":"https://api.github.com/users/amercer1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amercer1/clank","description":"clankity clankity clankity clank","fork":true,"url":"https://api.github.com/repos/amercer1/clank","forks_url":"https://api.github.com/repos/amercer1/clank/forks","keys_url":"https://api.github.com/repos/amercer1/clank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amercer1/clank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amercer1/clank/teams","hooks_url":"https://api.github.com/repos/amercer1/clank/hooks","issue_events_url":"https://api.github.com/repos/amercer1/clank/issues/events{/number}","events_url":"https://api.github.com/repos/amercer1/clank/events","assignees_url":"https://api.github.com/repos/amercer1/clank/assignees{/user}","branches_url":"https://api.github.com/repos/amercer1/clank/branches{/branch}","tags_url":"https://api.github.com/repos/amercer1/clank/tags","blobs_url":"https://api.github.com/repos/amercer1/clank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amercer1/clank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amercer1/clank/git/refs{/sha}","trees_url":"https://api.github.com/repos/amercer1/clank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amercer1/clank/statuses/{sha}","languages_url":"https://api.github.com/repos/amercer1/clank/languages","stargazers_url":"https://api.github.com/repos/amercer1/clank/stargazers","contributors_url":"https://api.github.com/repos/amercer1/clank/contributors","subscribers_url":"https://api.github.com/repos/amercer1/clank/subscribers","subscription_url":"https://api.github.com/repos/amercer1/clank/subscription","commits_url":"https://api.github.com/repos/amercer1/clank/commits{/sha}","git_commits_url":"https://api.github.com/repos/amercer1/clank/git/commits{/sha}","comments_url":"https://api.github.com/repos/amercer1/clank/comments{/number}","issue_comment_url":"https://api.github.com/repos/amercer1/clank/issues/comments{/number}","contents_url":"https://api.github.com/repos/amercer1/clank/contents/{+path}","compare_url":"https://api.github.com/repos/amercer1/clank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amercer1/clank/merges","archive_url":"https://api.github.com/repos/amercer1/clank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amercer1/clank/downloads","issues_url":"https://api.github.com/repos/amercer1/clank/issues{/number}","pulls_url":"https://api.github.com/repos/amercer1/clank/pulls{/number}","milestones_url":"https://api.github.com/repos/amercer1/clank/milestones{/number}","notifications_url":"https://api.github.com/repos/amercer1/clank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amercer1/clank/labels{/name}","releases_url":"https://api.github.com/repos/amercer1/clank/releases{/id}","deployments_url":"https://api.github.com/repos/amercer1/clank/deployments","created_at":"2016-04-11T19:39:25Z","updated_at":"2016-04-11T19:39:27Z","pushed_at":"2016-06-16T00:39:06Z","git_url":"git://github.com/amercer1/clank.git","ssh_url":"git@github.com:amercer1/clank.git","clone_url":"https://github.com/amercer1/clank.git","svn_url":"https://github.com/amercer1/clank","homepage":"","size":349,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"iPlantCollaborativeOpenSource:v2.0","ref":"v2.0","sha":"1da052005b1a7d3f49b494b154ed0dd5806a4748","user":{"login":"iPlantCollaborativeOpenSource","id":669032,"avatar_url":"https://avatars.githubusercontent.com/u/669032?v=3","gravatar_id":"","url":"https://api.github.com/users/iPlantCollaborativeOpenSource","html_url":"https://github.com/iPlantCollaborativeOpenSource","followers_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/followers","following_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/following{/other_user}","gists_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/gists{/gist_id}","starred_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/subscriptions","organizations_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/orgs","repos_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/repos","events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/events{/privacy}","received_events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/received_events","type":"Organization","site_admin":false},"repo":{"id":38850061,"name":"clank","full_name":"iPlantCollaborativeOpenSource/clank","owner":{"login":"iPlantCollaborativeOpenSource","id":669032,"avatar_url":"https://avatars.githubusercontent.com/u/669032?v=3","gravatar_id":"","url":"https://api.github.com/users/iPlantCollaborativeOpenSource","html_url":"https://github.com/iPlantCollaborativeOpenSource","followers_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/followers","following_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/following{/other_user}","gists_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/gists{/gist_id}","starred_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/subscriptions","organizations_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/orgs","repos_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/repos","events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/events{/privacy}","received_events_url":"https://api.github.com/users/iPlantCollaborativeOpenSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iPlantCollaborativeOpenSource/clank","description":"clankity clankity clankity clank","fork":false,"url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank","forks_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/forks","keys_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/teams","hooks_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/hooks","issue_events_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/issues/events{/number}","events_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/events","assignees_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/assignees{/user}","branches_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/branches{/branch}","tags_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/tags","blobs_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/git/refs{/sha}","trees_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/statuses/{sha}","languages_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/languages","stargazers_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/stargazers","contributors_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/contributors","subscribers_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/subscribers","subscription_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/subscription","commits_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/commits{/sha}","git_commits_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/git/commits{/sha}","comments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/comments{/number}","issue_comment_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/issues/comments{/number}","contents_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/contents/{+path}","compare_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/merges","archive_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/downloads","issues_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/issues{/number}","pulls_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls{/number}","milestones_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/milestones{/number}","notifications_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/labels{/name}","releases_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/releases{/id}","deployments_url":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/deployments","created_at":"2015-07-09T23:17:52Z","updated_at":"2016-03-12T22:54:02Z","pushed_at":"2016-06-16T00:40:40Z","git_url":"git://github.com/iPlantCollaborativeOpenSource/clank.git","ssh_url":"git@github.com:iPlantCollaborativeOpenSource/clank.git","clone_url":"https://github.com/iPlantCollaborativeOpenSource/clank.git","svn_url":"https://github.com/iPlantCollaborativeOpenSource/clank","homepage":"","size":350,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":10,"forks":4,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/58"},"html":{"href":"https://github.com/iPlantCollaborativeOpenSource/clank/pull/58"},"issue":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/issues/58"},"comments":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/iPlantCollaborativeOpenSource/clank/statuses/edf8f8309a54c06c8a3e6f483bed71c5c3718846"}}}}
{"actor":{"display_login":"lenards"}}