{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls/13","id":196168985,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2MTY4OTg1","html_url":"https://github.com/alphagov/govwifi-ansible/pull/13","diff_url":"https://github.com/alphagov/govwifi-ansible/pull/13.diff","patch_url":"https://github.com/alphagov/govwifi-ansible/pull/13.patch","issue_url":"https://api.github.com/repos/alphagov/govwifi-ansible/issues/13","number":13,"state":"open","locked":false,"title":"To iterate over instances in a region we need to know how many exist","user":{"login":"emileswarts","id":1215147,"node_id":"MDQ6VXNlcjEyMTUxNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/1215147?v=4","gravatar_id":"","url":"https://api.github.com/users/emileswarts","html_url":"https://github.com/emileswarts","followers_url":"https://api.github.com/users/emileswarts/followers","following_url":"https://api.github.com/users/emileswarts/following{/other_user}","gists_url":"https://api.github.com/users/emileswarts/gists{/gist_id}","starred_url":"https://api.github.com/users/emileswarts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emileswarts/subscriptions","organizations_url":"https://api.github.com/users/emileswarts/orgs","repos_url":"https://api.github.com/users/emileswarts/repos","events_url":"https://api.github.com/users/emileswarts/events{/privacy}","received_events_url":"https://api.github.com/users/emileswarts/received_events","type":"User","site_admin":false},"body":"We iterate through all the nodes to work out the index and offset for\r\ndaily cron restarts.  Instead of duplicating inventory (which doesn't\r\nwork for multi region), just look up the current inventory.","created_at":"2018-06-20T14:50:50Z","updated_at":"2018-06-20T14:50:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls/13/commits","review_comments_url":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls/13/comments","review_comment_url":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govwifi-ansible/issues/13/comments","statuses_url":"https://api.github.com/repos/alphagov/govwifi-ansible/statuses/c3c45c482117909ea73bd656dacaa306a221ef44","head":{"label":"alphagov:improve_inventory_config","ref":"improve_inventory_config","sha":"c3c45c482117909ea73bd656dacaa306a221ef44","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":137857465,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc4NTc0NjU=","name":"govwifi-ansible","full_name":"alphagov/govwifi-ansible","owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govwifi-ansible","description":"Ansible Provisioning For GovWifi Infrastructure","fork":false,"url":"https://api.github.com/repos/alphagov/govwifi-ansible","forks_url":"https://api.github.com/repos/alphagov/govwifi-ansible/forks","keys_url":"https://api.github.com/repos/alphagov/govwifi-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govwifi-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govwifi-ansible/teams","hooks_url":"https://api.github.com/repos/alphagov/govwifi-ansible/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govwifi-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govwifi-ansible/events","assignees_url":"https://api.github.com/repos/alphagov/govwifi-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govwifi-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govwifi-ansible/tags","blobs_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govwifi-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govwifi-ansible/languages","stargazers_url":"https://api.github.com/repos/alphagov/govwifi-ansible/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govwifi-ansible/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govwifi-ansible/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govwifi-ansible/subscription","commits_url":"https://api.github.com/repos/alphagov/govwifi-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govwifi-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govwifi-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govwifi-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govwifi-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govwifi-ansible/merges","archive_url":"https://api.github.com/repos/alphagov/govwifi-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govwifi-ansible/downloads","issues_url":"https://api.github.com/repos/alphagov/govwifi-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govwifi-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govwifi-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govwifi-ansible/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govwifi-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govwifi-ansible/deployments","created_at":"2018-06-19T07:44:28Z","updated_at":"2018-06-20T14:23:42Z","pushed_at":"2018-06-20T14:49:25Z","git_url":"git://github.com/alphagov/govwifi-ansible.git","ssh_url":"git@github.com:alphagov/govwifi-ansible.git","clone_url":"https://github.com/alphagov/govwifi-ansible.git","svn_url":"https://github.com/alphagov/govwifi-ansible","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Makefile","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"b60a8915460e6bd1d298fa8b3f684aed5306e581","user":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":137857465,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc4NTc0NjU=","name":"govwifi-ansible","full_name":"alphagov/govwifi-ansible","owner":{"login":"alphagov","id":596977,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU5Njk3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govwifi-ansible","description":"Ansible Provisioning For GovWifi Infrastructure","fork":false,"url":"https://api.github.com/repos/alphagov/govwifi-ansible","forks_url":"https://api.github.com/repos/alphagov/govwifi-ansible/forks","keys_url":"https://api.github.com/repos/alphagov/govwifi-ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govwifi-ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govwifi-ansible/teams","hooks_url":"https://api.github.com/repos/alphagov/govwifi-ansible/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govwifi-ansible/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govwifi-ansible/events","assignees_url":"https://api.github.com/repos/alphagov/govwifi-ansible/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govwifi-ansible/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govwifi-ansible/tags","blobs_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govwifi-ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govwifi-ansible/languages","stargazers_url":"https://api.github.com/repos/alphagov/govwifi-ansible/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govwifi-ansible/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govwifi-ansible/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govwifi-ansible/subscription","commits_url":"https://api.github.com/repos/alphagov/govwifi-ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govwifi-ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govwifi-ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govwifi-ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govwifi-ansible/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govwifi-ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govwifi-ansible/merges","archive_url":"https://api.github.com/repos/alphagov/govwifi-ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govwifi-ansible/downloads","issues_url":"https://api.github.com/repos/alphagov/govwifi-ansible/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govwifi-ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govwifi-ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govwifi-ansible/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govwifi-ansible/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govwifi-ansible/deployments","created_at":"2018-06-19T07:44:28Z","updated_at":"2018-06-20T14:23:42Z","pushed_at":"2018-06-20T14:49:25Z","git_url":"git://github.com/alphagov/govwifi-ansible.git","ssh_url":"git@github.com:alphagov/govwifi-ansible.git","clone_url":"https://github.com/alphagov/govwifi-ansible.git","svn_url":"https://github.com/alphagov/govwifi-ansible","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Makefile","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls/13"},"html":{"href":"https://github.com/alphagov/govwifi-ansible/pull/13"},"issue":{"href":"https://api.github.com/repos/alphagov/govwifi-ansible/issues/13"},"comments":{"href":"https://api.github.com/repos/alphagov/govwifi-ansible/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govwifi-ansible/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govwifi-ansible/statuses/c3c45c482117909ea73bd656dacaa306a221ef44"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":10,"deletions":6,"changed_files":3}}
{"actor":{"display_login":"emileswarts"}}