{"action":"created","comment":{"url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/comments/56213553","id":56213553,"diff_hunk":"@@ -1,14 +1,38 @@\n-# SatNOGS client provisioning\n-\n-Ansible playbook to make the installation procedure for SatNOGS client easier.\n-How to install:\n-\n-* Make sure SatNOGS rotator is connected to your board.\n-* Configure your `hosts` file\n- * Append the rotator's IP under `satnogs` group.\n- * Make sure `ansible_ssh_user` and `ansible_ssh_pass` are defined.\n- * Make sure `ansible_ssh_user` has root privileges.\n-* Change `group_vars/satnogs.yml` according to your setup.\n- * Check `group_vars/satnogs.yml-dist` for more information.\n-* Run `ansible-playbook playbook.yml -i <hosts_inventory>`\n-* Enjoy!\n+Role Name\n+=========\n+\n+The SatNOGS Client Provisioning role is to install and configure the SatNOGS client.\n+\n+Requirements\n+------------\n+\n+None!\n+\n+Role Variables\n+--------------\n+\n+A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.\n+\n+Dependencies\n+------------\n+\n+None!\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+    - hosts: satnogs-client-ansible\n+      roles:\n+         - { role: ryan_turner.satnogs-client-ansible, satnogs_api_url: https://network.satnogs.org/api/, satnogs_api_token: 123, satnogs_station_id: 456, satnogs_station_lat: 35.0, satnogs_station_lon: -89, satnogs_station_elev: 89, satnogs_ppm_error: -2 }","path":"README.md","position":null,"original_position":42,"commit_id":"87d3835c1fba065dff0b1a943cfe3d2f75e4c10e","original_commit_id":"ad31dfb835a76d5ff4ff2a20cc00ecddb35ea3b8","user":{"login":"johngian","id":835321,"avatar_url":"https://avatars.githubusercontent.com/u/835321?v=3","gravatar_id":"","url":"https://api.github.com/users/johngian","html_url":"https://github.com/johngian","followers_url":"https://api.github.com/users/johngian/followers","following_url":"https://api.github.com/users/johngian/following{/other_user}","gists_url":"https://api.github.com/users/johngian/gists{/gist_id}","starred_url":"https://api.github.com/users/johngian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johngian/subscriptions","organizations_url":"https://api.github.com/users/johngian/orgs","repos_url":"https://api.github.com/users/johngian/repos","events_url":"https://api.github.com/users/johngian/events{/privacy}","received_events_url":"https://api.github.com/users/johngian/received_events","type":"User","site_admin":false},"body":"The role here should be changed to ``satnogs.satnogs-client-ansible``.","created_at":"2016-03-15T18:16:02Z","updated_at":"2016-03-15T18:16:02Z","html_url":"https://github.com/satnogs/satnogs-client-ansible/pull/1#discussion_r56213553","pull_request_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/comments/56213553"},"html":{"href":"https://github.com/satnogs/satnogs-client-ansible/pull/1#discussion_r56213553"},"pull_request":{"href":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/1","id":62023125,"html_url":"https://github.com/satnogs/satnogs-client-ansible/pull/1","diff_url":"https://github.com/satnogs/satnogs-client-ansible/pull/1.diff","patch_url":"https://github.com/satnogs/satnogs-client-ansible/pull/1.patch","issue_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/issues/1","number":1,"state":"open","locked":false,"title":"Prepared role for Ansible Galaxy","user":{"login":"ryanturner","id":701035,"avatar_url":"https://avatars.githubusercontent.com/u/701035?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanturner","html_url":"https://github.com/ryanturner","followers_url":"https://api.github.com/users/ryanturner/followers","following_url":"https://api.github.com/users/ryanturner/following{/other_user}","gists_url":"https://api.github.com/users/ryanturner/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanturner/subscriptions","organizations_url":"https://api.github.com/users/ryanturner/orgs","repos_url":"https://api.github.com/users/ryanturner/repos","events_url":"https://api.github.com/users/ryanturner/events{/privacy}","received_events_url":"https://api.github.com/users/ryanturner/received_events","type":"User","site_admin":false},"body":"These changes required restructuring the repo a bit, but the meat of it is the same (tasks, templates). I've also moved some vars into defaults and left others to be hostvars. Things like API key, ID, lat/lon are all host-specific, so they make sense to be there instead of as part of the group.\r\n\r\nI've not added this to ansible galaxy because I didn't want it tied to my personal account. Also, I've not setup testing yet -- I figured that'd be a good next step for a separate PR. The testing that's currently present is from the ansible galaxy init method and can safely be overlooked as \"default\".","created_at":"2016-03-08T04:26:57Z","updated_at":"2016-03-15T18:16:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ddd3108dc9023d05dd88282cd83a2bc98828c76","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/1/commits","review_comments_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/1/comments","review_comment_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/issues/1/comments","statuses_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/statuses/87d3835c1fba065dff0b1a943cfe3d2f75e4c10e","head":{"label":"ryanturner:master","ref":"master","sha":"87d3835c1fba065dff0b1a943cfe3d2f75e4c10e","user":{"login":"ryanturner","id":701035,"avatar_url":"https://avatars.githubusercontent.com/u/701035?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanturner","html_url":"https://github.com/ryanturner","followers_url":"https://api.github.com/users/ryanturner/followers","following_url":"https://api.github.com/users/ryanturner/following{/other_user}","gists_url":"https://api.github.com/users/ryanturner/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanturner/subscriptions","organizations_url":"https://api.github.com/users/ryanturner/orgs","repos_url":"https://api.github.com/users/ryanturner/repos","events_url":"https://api.github.com/users/ryanturner/events{/privacy}","received_events_url":"https://api.github.com/users/ryanturner/received_events","type":"User","site_admin":false},"repo":{"id":53377874,"name":"satnogs-client-ansible","full_name":"ryanturner/satnogs-client-ansible","owner":{"login":"ryanturner","id":701035,"avatar_url":"https://avatars.githubusercontent.com/u/701035?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanturner","html_url":"https://github.com/ryanturner","followers_url":"https://api.github.com/users/ryanturner/followers","following_url":"https://api.github.com/users/ryanturner/following{/other_user}","gists_url":"https://api.github.com/users/ryanturner/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanturner/subscriptions","organizations_url":"https://api.github.com/users/ryanturner/orgs","repos_url":"https://api.github.com/users/ryanturner/repos","events_url":"https://api.github.com/users/ryanturner/events{/privacy}","received_events_url":"https://api.github.com/users/ryanturner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanturner/satnogs-client-ansible","description":"Ansible playbook to provision satnogs-client","fork":true,"url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible","forks_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/forks","keys_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/teams","hooks_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/hooks","issue_events_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/events","assignees_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/tags","blobs_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/languages","stargazers_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/stargazers","contributors_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/contributors","subscribers_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/subscribers","subscription_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/subscription","commits_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/merges","archive_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/downloads","issues_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/labels{/name}","releases_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/ryanturner/satnogs-client-ansible/deployments","created_at":"2016-03-08T03:03:35Z","updated_at":"2016-03-08T18:12:48Z","pushed_at":"2016-03-12T03:45:12Z","git_url":"git://github.com/ryanturner/satnogs-client-ansible.git","ssh_url":"git@github.com:ryanturner/satnogs-client-ansible.git","clone_url":"https://github.com/ryanturner/satnogs-client-ansible.git","svn_url":"https://github.com/ryanturner/satnogs-client-ansible","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"satnogs:master","ref":"master","sha":"2ac85c9a2bae64ea8cdb4f071e973b4cc81a77bd","user":{"login":"satnogs","id":7274400,"avatar_url":"https://avatars.githubusercontent.com/u/7274400?v=3","gravatar_id":"","url":"https://api.github.com/users/satnogs","html_url":"https://github.com/satnogs","followers_url":"https://api.github.com/users/satnogs/followers","following_url":"https://api.github.com/users/satnogs/following{/other_user}","gists_url":"https://api.github.com/users/satnogs/gists{/gist_id}","starred_url":"https://api.github.com/users/satnogs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satnogs/subscriptions","organizations_url":"https://api.github.com/users/satnogs/orgs","repos_url":"https://api.github.com/users/satnogs/repos","events_url":"https://api.github.com/users/satnogs/events{/privacy}","received_events_url":"https://api.github.com/users/satnogs/received_events","type":"Organization","site_admin":false},"repo":{"id":43175354,"name":"satnogs-client-ansible","full_name":"satnogs/satnogs-client-ansible","owner":{"login":"satnogs","id":7274400,"avatar_url":"https://avatars.githubusercontent.com/u/7274400?v=3","gravatar_id":"","url":"https://api.github.com/users/satnogs","html_url":"https://github.com/satnogs","followers_url":"https://api.github.com/users/satnogs/followers","following_url":"https://api.github.com/users/satnogs/following{/other_user}","gists_url":"https://api.github.com/users/satnogs/gists{/gist_id}","starred_url":"https://api.github.com/users/satnogs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satnogs/subscriptions","organizations_url":"https://api.github.com/users/satnogs/orgs","repos_url":"https://api.github.com/users/satnogs/repos","events_url":"https://api.github.com/users/satnogs/events{/privacy}","received_events_url":"https://api.github.com/users/satnogs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/satnogs/satnogs-client-ansible","description":"Ansible playbook to provision satnogs-client","fork":false,"url":"https://api.github.com/repos/satnogs/satnogs-client-ansible","forks_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/forks","keys_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/teams","hooks_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/hooks","issue_events_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/events","assignees_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/tags","blobs_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/languages","stargazers_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/stargazers","contributors_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/contributors","subscribers_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/subscribers","subscription_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/subscription","commits_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/merges","archive_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/downloads","issues_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/labels{/name}","releases_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/satnogs/satnogs-client-ansible/deployments","created_at":"2015-09-25T21:02:03Z","updated_at":"2015-11-18T19:49:51Z","pushed_at":"2016-03-12T03:45:12Z","git_url":"git://github.com/satnogs/satnogs-client-ansible.git","ssh_url":"git@github.com:satnogs/satnogs-client-ansible.git","clone_url":"https://github.com/satnogs/satnogs-client-ansible.git","svn_url":"https://github.com/satnogs/satnogs-client-ansible","homepage":null,"size":124,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/1"},"html":{"href":"https://github.com/satnogs/satnogs-client-ansible/pull/1"},"issue":{"href":"https://api.github.com/repos/satnogs/satnogs-client-ansible/issues/1"},"comments":{"href":"https://api.github.com/repos/satnogs/satnogs-client-ansible/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/satnogs/satnogs-client-ansible/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/satnogs/satnogs-client-ansible/statuses/87d3835c1fba065dff0b1a943cfe3d2f75e4c10e"}}}}