{"action":"created","comment":{"url":"https://api.github.com/repos/amaabca/loggly_tls/pulls/comments/59785473","id":59785473,"diff_hunk":"@@ -18,11 +20,18 @@\n   get_url: url={{ loggly.certificate_url }} dest={{ loggly.certificate_dest }}{{ loggly.certificate_file }}\n   ignore_errors: yes\n \n+- name: Ensure wget is installed until SNI is supported\n+  apt: name=wget update_cache=yes cache_valid_time=3600\n+\n - name: Use wget cause Python 2.7.6 doesn't support https://en.wikipedia.org/wiki/Server_Name_Indication\n   command: wget -O {{ loggly.certificate_dest }}{{ loggly.certificate_file }} {{ loggly.certificate_url }}\n   notify:\n     - restart_rsyslog\n \n+# using shell until file: state=absent works the same as below\n+- name: Cleanup files that may have been left by other installations\n+  shell: rm -f /etc/rsyslog.d/*-loggly-*","path":"tasks/main.yml","position":34,"original_position":34,"commit_id":"0e7c45dbf18f1a959fc29832674d70723e4896f4","original_commit_id":"c6de8886d9800f52d07cf3e455b4b582cfb69815","user":{"login":"adamrmelnyk","id":6963287,"avatar_url":"https://avatars.githubusercontent.com/u/6963287?v=3","gravatar_id":"","url":"https://api.github.com/users/adamrmelnyk","html_url":"https://github.com/adamrmelnyk","followers_url":"https://api.github.com/users/adamrmelnyk/followers","following_url":"https://api.github.com/users/adamrmelnyk/following{/other_user}","gists_url":"https://api.github.com/users/adamrmelnyk/gists{/gist_id}","starred_url":"https://api.github.com/users/adamrmelnyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamrmelnyk/subscriptions","organizations_url":"https://api.github.com/users/adamrmelnyk/orgs","repos_url":"https://api.github.com/users/adamrmelnyk/repos","events_url":"https://api.github.com/users/adamrmelnyk/events{/privacy}","received_events_url":"https://api.github.com/users/adamrmelnyk/received_events","type":"User","site_admin":false},"body":"```sh\r\nsudo rm -rf {foo}/{bar}\r\n```","created_at":"2016-04-14T20:27:13Z","updated_at":"2016-04-14T20:27:13Z","html_url":"https://github.com/amaabca/loggly_tls/pull/4#discussion_r59785473","pull_request_url":"https://api.github.com/repos/amaabca/loggly_tls/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/amaabca/loggly_tls/pulls/comments/59785473"},"html":{"href":"https://github.com/amaabca/loggly_tls/pull/4#discussion_r59785473"},"pull_request":{"href":"https://api.github.com/repos/amaabca/loggly_tls/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/amaabca/loggly_tls/pulls/4","id":66544925,"html_url":"https://github.com/amaabca/loggly_tls/pull/4","diff_url":"https://github.com/amaabca/loggly_tls/pull/4.diff","patch_url":"https://github.com/amaabca/loggly_tls/pull/4.patch","issue_url":"https://api.github.com/repos/amaabca/loggly_tls/issues/4","number":4,"state":"open","locked":false,"title":"cleanup extra config files","user":{"login":"jbabe","id":547777,"avatar_url":"https://avatars.githubusercontent.com/u/547777?v=3","gravatar_id":"","url":"https://api.github.com/users/jbabe","html_url":"https://github.com/jbabe","followers_url":"https://api.github.com/users/jbabe/followers","following_url":"https://api.github.com/users/jbabe/following{/other_user}","gists_url":"https://api.github.com/users/jbabe/gists{/gist_id}","starred_url":"https://api.github.com/users/jbabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbabe/subscriptions","organizations_url":"https://api.github.com/users/jbabe/orgs","repos_url":"https://api.github.com/users/jbabe/repos","events_url":"https://api.github.com/users/jbabe/events{/privacy}","received_events_url":"https://api.github.com/users/jbabe/received_events","type":"User","site_admin":false},"body":":elephant:\r\n* We may have extra config if we were changing stuff in that directory,\r\ndelete what's there so we have a clean state (this may be a bad default\r\nbehaviour to choose)\r\n* Couldn't use file: state=absent because it doesn't support wildcards\r\nand it fails if the files aren't there\r\n* also moved version 8 stuff into it's own file","created_at":"2016-04-14T20:03:37Z","updated_at":"2016-04-14T20:27:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b6979fa48d19189228b9a8c309c82a9f662e958","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amaabca/loggly_tls/pulls/4/commits","review_comments_url":"https://api.github.com/repos/amaabca/loggly_tls/pulls/4/comments","review_comment_url":"https://api.github.com/repos/amaabca/loggly_tls/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amaabca/loggly_tls/issues/4/comments","statuses_url":"https://api.github.com/repos/amaabca/loggly_tls/statuses/0e7c45dbf18f1a959fc29832674d70723e4896f4","head":{"label":"amaabca:cleanup-config-cruft","ref":"cleanup-config-cruft","sha":"0e7c45dbf18f1a959fc29832674d70723e4896f4","user":{"login":"amaabca","id":1038934,"avatar_url":"https://avatars.githubusercontent.com/u/1038934?v=3","gravatar_id":"","url":"https://api.github.com/users/amaabca","html_url":"https://github.com/amaabca","followers_url":"https://api.github.com/users/amaabca/followers","following_url":"https://api.github.com/users/amaabca/following{/other_user}","gists_url":"https://api.github.com/users/amaabca/gists{/gist_id}","starred_url":"https://api.github.com/users/amaabca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaabca/subscriptions","organizations_url":"https://api.github.com/users/amaabca/orgs","repos_url":"https://api.github.com/users/amaabca/repos","events_url":"https://api.github.com/users/amaabca/events{/privacy}","received_events_url":"https://api.github.com/users/amaabca/received_events","type":"Organization","site_admin":false},"repo":{"id":55790918,"name":"loggly_tls","full_name":"amaabca/loggly_tls","owner":{"login":"amaabca","id":1038934,"avatar_url":"https://avatars.githubusercontent.com/u/1038934?v=3","gravatar_id":"","url":"https://api.github.com/users/amaabca","html_url":"https://github.com/amaabca","followers_url":"https://api.github.com/users/amaabca/followers","following_url":"https://api.github.com/users/amaabca/following{/other_user}","gists_url":"https://api.github.com/users/amaabca/gists{/gist_id}","starred_url":"https://api.github.com/users/amaabca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaabca/subscriptions","organizations_url":"https://api.github.com/users/amaabca/orgs","repos_url":"https://api.github.com/users/amaabca/repos","events_url":"https://api.github.com/users/amaabca/events{/privacy}","received_events_url":"https://api.github.com/users/amaabca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amaabca/loggly_tls","description":"Ansible role for configuring rsyslog to send log files to Loggly over TLS","fork":false,"url":"https://api.github.com/repos/amaabca/loggly_tls","forks_url":"https://api.github.com/repos/amaabca/loggly_tls/forks","keys_url":"https://api.github.com/repos/amaabca/loggly_tls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amaabca/loggly_tls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amaabca/loggly_tls/teams","hooks_url":"https://api.github.com/repos/amaabca/loggly_tls/hooks","issue_events_url":"https://api.github.com/repos/amaabca/loggly_tls/issues/events{/number}","events_url":"https://api.github.com/repos/amaabca/loggly_tls/events","assignees_url":"https://api.github.com/repos/amaabca/loggly_tls/assignees{/user}","branches_url":"https://api.github.com/repos/amaabca/loggly_tls/branches{/branch}","tags_url":"https://api.github.com/repos/amaabca/loggly_tls/tags","blobs_url":"https://api.github.com/repos/amaabca/loggly_tls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amaabca/loggly_tls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amaabca/loggly_tls/git/refs{/sha}","trees_url":"https://api.github.com/repos/amaabca/loggly_tls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amaabca/loggly_tls/statuses/{sha}","languages_url":"https://api.github.com/repos/amaabca/loggly_tls/languages","stargazers_url":"https://api.github.com/repos/amaabca/loggly_tls/stargazers","contributors_url":"https://api.github.com/repos/amaabca/loggly_tls/contributors","subscribers_url":"https://api.github.com/repos/amaabca/loggly_tls/subscribers","subscription_url":"https://api.github.com/repos/amaabca/loggly_tls/subscription","commits_url":"https://api.github.com/repos/amaabca/loggly_tls/commits{/sha}","git_commits_url":"https://api.github.com/repos/amaabca/loggly_tls/git/commits{/sha}","comments_url":"https://api.github.com/repos/amaabca/loggly_tls/comments{/number}","issue_comment_url":"https://api.github.com/repos/amaabca/loggly_tls/issues/comments{/number}","contents_url":"https://api.github.com/repos/amaabca/loggly_tls/contents/{+path}","compare_url":"https://api.github.com/repos/amaabca/loggly_tls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amaabca/loggly_tls/merges","archive_url":"https://api.github.com/repos/amaabca/loggly_tls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amaabca/loggly_tls/downloads","issues_url":"https://api.github.com/repos/amaabca/loggly_tls/issues{/number}","pulls_url":"https://api.github.com/repos/amaabca/loggly_tls/pulls{/number}","milestones_url":"https://api.github.com/repos/amaabca/loggly_tls/milestones{/number}","notifications_url":"https://api.github.com/repos/amaabca/loggly_tls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amaabca/loggly_tls/labels{/name}","releases_url":"https://api.github.com/repos/amaabca/loggly_tls/releases{/id}","deployments_url":"https://api.github.com/repos/amaabca/loggly_tls/deployments","created_at":"2016-04-08T15:48:49Z","updated_at":"2016-04-09T17:42:09Z","pushed_at":"2016-04-14T20:26:09Z","git_url":"git://github.com/amaabca/loggly_tls.git","ssh_url":"git@github.com:amaabca/loggly_tls.git","clone_url":"https://github.com/amaabca/loggly_tls.git","svn_url":"https://github.com/amaabca/loggly_tls","homepage":null,"size":25,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"amaabca:master","ref":"master","sha":"02422bbe20cea0746258b0ed8df9f72d3892fc9b","user":{"login":"amaabca","id":1038934,"avatar_url":"https://avatars.githubusercontent.com/u/1038934?v=3","gravatar_id":"","url":"https://api.github.com/users/amaabca","html_url":"https://github.com/amaabca","followers_url":"https://api.github.com/users/amaabca/followers","following_url":"https://api.github.com/users/amaabca/following{/other_user}","gists_url":"https://api.github.com/users/amaabca/gists{/gist_id}","starred_url":"https://api.github.com/users/amaabca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaabca/subscriptions","organizations_url":"https://api.github.com/users/amaabca/orgs","repos_url":"https://api.github.com/users/amaabca/repos","events_url":"https://api.github.com/users/amaabca/events{/privacy}","received_events_url":"https://api.github.com/users/amaabca/received_events","type":"Organization","site_admin":false},"repo":{"id":55790918,"name":"loggly_tls","full_name":"amaabca/loggly_tls","owner":{"login":"amaabca","id":1038934,"avatar_url":"https://avatars.githubusercontent.com/u/1038934?v=3","gravatar_id":"","url":"https://api.github.com/users/amaabca","html_url":"https://github.com/amaabca","followers_url":"https://api.github.com/users/amaabca/followers","following_url":"https://api.github.com/users/amaabca/following{/other_user}","gists_url":"https://api.github.com/users/amaabca/gists{/gist_id}","starred_url":"https://api.github.com/users/amaabca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaabca/subscriptions","organizations_url":"https://api.github.com/users/amaabca/orgs","repos_url":"https://api.github.com/users/amaabca/repos","events_url":"https://api.github.com/users/amaabca/events{/privacy}","received_events_url":"https://api.github.com/users/amaabca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amaabca/loggly_tls","description":"Ansible role for configuring rsyslog to send log files to Loggly over TLS","fork":false,"url":"https://api.github.com/repos/amaabca/loggly_tls","forks_url":"https://api.github.com/repos/amaabca/loggly_tls/forks","keys_url":"https://api.github.com/repos/amaabca/loggly_tls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amaabca/loggly_tls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amaabca/loggly_tls/teams","hooks_url":"https://api.github.com/repos/amaabca/loggly_tls/hooks","issue_events_url":"https://api.github.com/repos/amaabca/loggly_tls/issues/events{/number}","events_url":"https://api.github.com/repos/amaabca/loggly_tls/events","assignees_url":"https://api.github.com/repos/amaabca/loggly_tls/assignees{/user}","branches_url":"https://api.github.com/repos/amaabca/loggly_tls/branches{/branch}","tags_url":"https://api.github.com/repos/amaabca/loggly_tls/tags","blobs_url":"https://api.github.com/repos/amaabca/loggly_tls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amaabca/loggly_tls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amaabca/loggly_tls/git/refs{/sha}","trees_url":"https://api.github.com/repos/amaabca/loggly_tls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amaabca/loggly_tls/statuses/{sha}","languages_url":"https://api.github.com/repos/amaabca/loggly_tls/languages","stargazers_url":"https://api.github.com/repos/amaabca/loggly_tls/stargazers","contributors_url":"https://api.github.com/repos/amaabca/loggly_tls/contributors","subscribers_url":"https://api.github.com/repos/amaabca/loggly_tls/subscribers","subscription_url":"https://api.github.com/repos/amaabca/loggly_tls/subscription","commits_url":"https://api.github.com/repos/amaabca/loggly_tls/commits{/sha}","git_commits_url":"https://api.github.com/repos/amaabca/loggly_tls/git/commits{/sha}","comments_url":"https://api.github.com/repos/amaabca/loggly_tls/comments{/number}","issue_comment_url":"https://api.github.com/repos/amaabca/loggly_tls/issues/comments{/number}","contents_url":"https://api.github.com/repos/amaabca/loggly_tls/contents/{+path}","compare_url":"https://api.github.com/repos/amaabca/loggly_tls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amaabca/loggly_tls/merges","archive_url":"https://api.github.com/repos/amaabca/loggly_tls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amaabca/loggly_tls/downloads","issues_url":"https://api.github.com/repos/amaabca/loggly_tls/issues{/number}","pulls_url":"https://api.github.com/repos/amaabca/loggly_tls/pulls{/number}","milestones_url":"https://api.github.com/repos/amaabca/loggly_tls/milestones{/number}","notifications_url":"https://api.github.com/repos/amaabca/loggly_tls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amaabca/loggly_tls/labels{/name}","releases_url":"https://api.github.com/repos/amaabca/loggly_tls/releases{/id}","deployments_url":"https://api.github.com/repos/amaabca/loggly_tls/deployments","created_at":"2016-04-08T15:48:49Z","updated_at":"2016-04-09T17:42:09Z","pushed_at":"2016-04-14T20:26:09Z","git_url":"git://github.com/amaabca/loggly_tls.git","ssh_url":"git@github.com:amaabca/loggly_tls.git","clone_url":"https://github.com/amaabca/loggly_tls.git","svn_url":"https://github.com/amaabca/loggly_tls","homepage":null,"size":25,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amaabca/loggly_tls/pulls/4"},"html":{"href":"https://github.com/amaabca/loggly_tls/pull/4"},"issue":{"href":"https://api.github.com/repos/amaabca/loggly_tls/issues/4"},"comments":{"href":"https://api.github.com/repos/amaabca/loggly_tls/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/amaabca/loggly_tls/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/amaabca/loggly_tls/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amaabca/loggly_tls/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/amaabca/loggly_tls/statuses/0e7c45dbf18f1a959fc29832674d70723e4896f4"}}}}