{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls/21","id":94498178,"html_url":"https://github.com/jaywink/ansible-letsencrypt/pull/21","diff_url":"https://github.com/jaywink/ansible-letsencrypt/pull/21.diff","patch_url":"https://github.com/jaywink/ansible-letsencrypt/pull/21.patch","issue_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues/21","number":21,"state":"open","locked":false,"title":"Add tests and Travis config","user":{"login":"jaywink","id":1174866,"avatar_url":"https://avatars.githubusercontent.com/u/1174866?v=3","gravatar_id":"","url":"https://api.github.com/users/jaywink","html_url":"https://github.com/jaywink","followers_url":"https://api.github.com/users/jaywink/followers","following_url":"https://api.github.com/users/jaywink/following{/other_user}","gists_url":"https://api.github.com/users/jaywink/gists{/gist_id}","starred_url":"https://api.github.com/users/jaywink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaywink/subscriptions","organizations_url":"https://api.github.com/users/jaywink/orgs","repos_url":"https://api.github.com/users/jaywink/repos","events_url":"https://api.github.com/users/jaywink/events{/privacy}","received_events_url":"https://api.github.com/users/jaywink/received_events","type":"User","site_admin":false},"body":"Run the role in test mode in Travis using Docker images. Unfortunately since the LetsEncrypt server, even in staging mode, will always call back, so we can't actually execute that command. Instead we just make it install and check the arguments that we would use look correct.\r\n\r\nIdea for test and Travis config mostly stolen from https://github.com/geerlingguy/ansible-role-apache","created_at":"2016-11-19T22:31:34Z","updated_at":"2016-11-19T22:31:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls/21/commits","review_comments_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls/21/comments","review_comment_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues/21/comments","statuses_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/statuses/f9179fffa21e9b949b94419be2f1bcb8cc684a16","head":{"label":"jaywink:tests","ref":"tests","sha":"f9179fffa21e9b949b94419be2f1bcb8cc684a16","user":{"login":"jaywink","id":1174866,"avatar_url":"https://avatars.githubusercontent.com/u/1174866?v=3","gravatar_id":"","url":"https://api.github.com/users/jaywink","html_url":"https://github.com/jaywink","followers_url":"https://api.github.com/users/jaywink/followers","following_url":"https://api.github.com/users/jaywink/following{/other_user}","gists_url":"https://api.github.com/users/jaywink/gists{/gist_id}","starred_url":"https://api.github.com/users/jaywink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaywink/subscriptions","organizations_url":"https://api.github.com/users/jaywink/orgs","repos_url":"https://api.github.com/users/jaywink/repos","events_url":"https://api.github.com/users/jaywink/events{/privacy}","received_events_url":"https://api.github.com/users/jaywink/received_events","type":"User","site_admin":false},"repo":{"id":47581558,"name":"ansible-letsencrypt","full_name":"jaywink/ansible-letsencrypt","owner":{"login":"jaywink","id":1174866,"avatar_url":"https://avatars.githubusercontent.com/u/1174866?v=3","gravatar_id":"","url":"https://api.github.com/users/jaywink","html_url":"https://github.com/jaywink","followers_url":"https://api.github.com/users/jaywink/followers","following_url":"https://api.github.com/users/jaywink/following{/other_user}","gists_url":"https://api.github.com/users/jaywink/gists{/gist_id}","starred_url":"https://api.github.com/users/jaywink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaywink/subscriptions","organizations_url":"https://api.github.com/users/jaywink/orgs","repos_url":"https://api.github.com/users/jaywink/repos","events_url":"https://api.github.com/users/jaywink/events{/privacy}","received_events_url":"https://api.github.com/users/jaywink/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaywink/ansible-letsencrypt","description":"Ansible role for LetsEncrypt","fork":false,"url":"https://api.github.com/repos/jaywink/ansible-letsencrypt","forks_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/forks","keys_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/teams","hooks_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/hooks","issue_events_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues/events{/number}","events_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/events","assignees_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/assignees{/user}","branches_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/branches{/branch}","tags_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/tags","blobs_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/statuses/{sha}","languages_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/languages","stargazers_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/stargazers","contributors_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/contributors","subscribers_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/subscribers","subscription_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/subscription","commits_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/contents/{+path}","compare_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/merges","archive_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/downloads","issues_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues{/number}","pulls_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls{/number}","milestones_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/milestones{/number}","notifications_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/labels{/name}","releases_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/releases{/id}","deployments_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/deployments","created_at":"2015-12-07T21:52:43Z","updated_at":"2016-11-13T02:24:03Z","pushed_at":"2016-11-19T22:28:58Z","git_url":"git://github.com/jaywink/ansible-letsencrypt.git","ssh_url":"git@github.com:jaywink/ansible-letsencrypt.git","clone_url":"https://github.com/jaywink/ansible-letsencrypt.git","svn_url":"https://github.com/jaywink/ansible-letsencrypt","homepage":null,"size":59,"stargazers_count":19,"watchers_count":19,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":19,"default_branch":"master"}},"base":{"label":"jaywink:master","ref":"master","sha":"d70bd1f76c0bb936388a2df10b54dc5842bab63f","user":{"login":"jaywink","id":1174866,"avatar_url":"https://avatars.githubusercontent.com/u/1174866?v=3","gravatar_id":"","url":"https://api.github.com/users/jaywink","html_url":"https://github.com/jaywink","followers_url":"https://api.github.com/users/jaywink/followers","following_url":"https://api.github.com/users/jaywink/following{/other_user}","gists_url":"https://api.github.com/users/jaywink/gists{/gist_id}","starred_url":"https://api.github.com/users/jaywink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaywink/subscriptions","organizations_url":"https://api.github.com/users/jaywink/orgs","repos_url":"https://api.github.com/users/jaywink/repos","events_url":"https://api.github.com/users/jaywink/events{/privacy}","received_events_url":"https://api.github.com/users/jaywink/received_events","type":"User","site_admin":false},"repo":{"id":47581558,"name":"ansible-letsencrypt","full_name":"jaywink/ansible-letsencrypt","owner":{"login":"jaywink","id":1174866,"avatar_url":"https://avatars.githubusercontent.com/u/1174866?v=3","gravatar_id":"","url":"https://api.github.com/users/jaywink","html_url":"https://github.com/jaywink","followers_url":"https://api.github.com/users/jaywink/followers","following_url":"https://api.github.com/users/jaywink/following{/other_user}","gists_url":"https://api.github.com/users/jaywink/gists{/gist_id}","starred_url":"https://api.github.com/users/jaywink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaywink/subscriptions","organizations_url":"https://api.github.com/users/jaywink/orgs","repos_url":"https://api.github.com/users/jaywink/repos","events_url":"https://api.github.com/users/jaywink/events{/privacy}","received_events_url":"https://api.github.com/users/jaywink/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaywink/ansible-letsencrypt","description":"Ansible role for LetsEncrypt","fork":false,"url":"https://api.github.com/repos/jaywink/ansible-letsencrypt","forks_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/forks","keys_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/teams","hooks_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/hooks","issue_events_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues/events{/number}","events_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/events","assignees_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/assignees{/user}","branches_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/branches{/branch}","tags_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/tags","blobs_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/statuses/{sha}","languages_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/languages","stargazers_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/stargazers","contributors_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/contributors","subscribers_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/subscribers","subscription_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/subscription","commits_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/contents/{+path}","compare_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/merges","archive_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/downloads","issues_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues{/number}","pulls_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls{/number}","milestones_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/milestones{/number}","notifications_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/labels{/name}","releases_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/releases{/id}","deployments_url":"https://api.github.com/repos/jaywink/ansible-letsencrypt/deployments","created_at":"2015-12-07T21:52:43Z","updated_at":"2016-11-13T02:24:03Z","pushed_at":"2016-11-19T22:28:58Z","git_url":"git://github.com/jaywink/ansible-letsencrypt.git","ssh_url":"git@github.com:jaywink/ansible-letsencrypt.git","clone_url":"https://github.com/jaywink/ansible-letsencrypt.git","svn_url":"https://github.com/jaywink/ansible-letsencrypt","homepage":null,"size":59,"stargazers_count":19,"watchers_count":19,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls/21"},"html":{"href":"https://github.com/jaywink/ansible-letsencrypt/pull/21"},"issue":{"href":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues/21"},"comments":{"href":"https://api.github.com/repos/jaywink/ansible-letsencrypt/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jaywink/ansible-letsencrypt/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/jaywink/ansible-letsencrypt/statuses/f9179fffa21e9b949b94419be2f1bcb8cc684a16"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":91,"deletions":2,"changed_files":6}}
{"actor":{"display_login":"jaywink"}}