{"action":"created","comment":{"url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/comments/33757038","id":33757038,"diff_hunk":"@@ -0,0 +1,20 @@\n+---\n+# Copyright 2015, Rackspace US, Inc.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#     http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+\n+- name: Disable unattended upgrades\n+  lineinfile:\n+    dest: '/etc/apt/apt.conf.d/50unattended-upgrades'\n+    regexp: '\\-security\\\";$'","path":"rpcd/playbooks/roles/rpc_support/tasks/disable_unattended_upgrades.yml","position":19,"original_position":19,"commit_id":"7854283be5bc862b1a4fcb5e57b9537f48f8f614","original_commit_id":"7854283be5bc862b1a4fcb5e57b9537f48f8f614","user":{"login":"mattt416","id":16207,"avatar_url":"https://avatars.githubusercontent.com/u/16207?v=3","gravatar_id":"","url":"https://api.github.com/users/mattt416","html_url":"https://github.com/mattt416","followers_url":"https://api.github.com/users/mattt416/followers","following_url":"https://api.github.com/users/mattt416/following{/other_user}","gists_url":"https://api.github.com/users/mattt416/gists{/gist_id}","starred_url":"https://api.github.com/users/mattt416/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattt416/subscriptions","organizations_url":"https://api.github.com/users/mattt416/orgs","repos_url":"https://api.github.com/users/mattt416/repos","events_url":"https://api.github.com/users/mattt416/events{/privacy}","received_events_url":"https://api.github.com/users/mattt416/received_events","type":"User","site_admin":false},"body":"Will this result in an ansible change on every run? Would it be easier to disable updates by flipping APT::Periodic::Unattended-Upgrade to \"0\" in /etc/apt/apt.conf.d/20auto-upgrades instead?","created_at":"2015-07-02T08:37:15Z","updated_at":"2015-07-02T08:37:15Z","html_url":"https://github.com/rcbops/rpc-openstack/pull/213#discussion_r33757038","pull_request_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/213","_links":{"self":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/comments/33757038"},"html":{"href":"https://github.com/rcbops/rpc-openstack/pull/213#discussion_r33757038"},"pull_request":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/213"}}},"pull_request":{"url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/213","id":39025112,"html_url":"https://github.com/rcbops/rpc-openstack/pull/213","diff_url":"https://github.com/rcbops/rpc-openstack/pull/213.diff","patch_url":"https://github.com/rcbops/rpc-openstack/pull/213.patch","issue_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/213","number":213,"state":"open","locked":false,"title":"Prevent /boot from filling up by disabling unattended upgrades","user":{"login":"prometheanfire","id":1869923,"avatar_url":"https://avatars.githubusercontent.com/u/1869923?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheanfire","html_url":"https://github.com/prometheanfire","followers_url":"https://api.github.com/users/prometheanfire/followers","following_url":"https://api.github.com/users/prometheanfire/following{/other_user}","gists_url":"https://api.github.com/users/prometheanfire/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheanfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheanfire/subscriptions","organizations_url":"https://api.github.com/users/prometheanfire/orgs","repos_url":"https://api.github.com/users/prometheanfire/repos","events_url":"https://api.github.com/users/prometheanfire/events{/privacy}","received_events_url":"https://api.github.com/users/prometheanfire/received_events","type":"User","site_admin":false},"body":"Simply disables the security branch of unattended upgrades (the only one enabled by default).\r\n\r\nCloses #24","created_at":"2015-07-01T21:04:49Z","updated_at":"2015-07-02T08:37:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5cf4a6055fc080a7090c857f8614842cbe979d63","assignee":null,"milestone":{"url":"https://api.github.com/repos/rcbops/rpc-openstack/milestones/12","html_url":"https://github.com/rcbops/rpc-openstack/milestones/Kilo%2011.1.0","labels_url":"https://api.github.com/repos/rcbops/rpc-openstack/milestones/12/labels","id":1169184,"number":12,"title":"Kilo 11.1.0","description":"ADFS + Keystone Federation, Swift","creator":{"login":"nrb","id":321387,"avatar_url":"https://avatars.githubusercontent.com/u/321387?v=3","gravatar_id":"","url":"https://api.github.com/users/nrb","html_url":"https://github.com/nrb","followers_url":"https://api.github.com/users/nrb/followers","following_url":"https://api.github.com/users/nrb/following{/other_user}","gists_url":"https://api.github.com/users/nrb/gists{/gist_id}","starred_url":"https://api.github.com/users/nrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrb/subscriptions","organizations_url":"https://api.github.com/users/nrb/orgs","repos_url":"https://api.github.com/users/nrb/repos","events_url":"https://api.github.com/users/nrb/events{/privacy}","received_events_url":"https://api.github.com/users/nrb/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":5,"state":"open","created_at":"2015-06-17T19:25:54Z","updated_at":"2015-07-01T21:10:22Z","due_on":"2015-07-31T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/213/commits","review_comments_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/213/comments","review_comment_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/213/comments","statuses_url":"https://api.github.com/repos/rcbops/rpc-openstack/statuses/7854283be5bc862b1a4fcb5e57b9537f48f8f614","head":{"label":"prometheanfire:rpc-openstack-24","ref":"rpc-openstack-24","sha":"7854283be5bc862b1a4fcb5e57b9537f48f8f614","user":{"login":"prometheanfire","id":1869923,"avatar_url":"https://avatars.githubusercontent.com/u/1869923?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheanfire","html_url":"https://github.com/prometheanfire","followers_url":"https://api.github.com/users/prometheanfire/followers","following_url":"https://api.github.com/users/prometheanfire/following{/other_user}","gists_url":"https://api.github.com/users/prometheanfire/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheanfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheanfire/subscriptions","organizations_url":"https://api.github.com/users/prometheanfire/orgs","repos_url":"https://api.github.com/users/prometheanfire/repos","events_url":"https://api.github.com/users/prometheanfire/events{/privacy}","received_events_url":"https://api.github.com/users/prometheanfire/received_events","type":"User","site_admin":false},"repo":{"id":35046476,"name":"rpc-openstack","full_name":"prometheanfire/rpc-openstack","owner":{"login":"prometheanfire","id":1869923,"avatar_url":"https://avatars.githubusercontent.com/u/1869923?v=3","gravatar_id":"","url":"https://api.github.com/users/prometheanfire","html_url":"https://github.com/prometheanfire","followers_url":"https://api.github.com/users/prometheanfire/followers","following_url":"https://api.github.com/users/prometheanfire/following{/other_user}","gists_url":"https://api.github.com/users/prometheanfire/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheanfire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheanfire/subscriptions","organizations_url":"https://api.github.com/users/prometheanfire/orgs","repos_url":"https://api.github.com/users/prometheanfire/repos","events_url":"https://api.github.com/users/prometheanfire/events{/privacy}","received_events_url":"https://api.github.com/users/prometheanfire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prometheanfire/rpc-openstack","description":"Optional add-ons for Rackspace Private Cloud","fork":true,"url":"https://api.github.com/repos/prometheanfire/rpc-openstack","forks_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/forks","keys_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/teams","hooks_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/hooks","issue_events_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/events","assignees_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/tags","blobs_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/languages","stargazers_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/stargazers","contributors_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/contributors","subscribers_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/subscribers","subscription_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/subscription","commits_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/merges","archive_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/downloads","issues_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/labels{/name}","releases_url":"https://api.github.com/repos/prometheanfire/rpc-openstack/releases{/id}","created_at":"2015-05-04T16:38:39Z","updated_at":"2015-06-30T16:16:42Z","pushed_at":"2015-07-01T21:17:27Z","git_url":"git://github.com/prometheanfire/rpc-openstack.git","ssh_url":"git@github.com:prometheanfire/rpc-openstack.git","clone_url":"https://github.com/prometheanfire/rpc-openstack.git","svn_url":"https://github.com/prometheanfire/rpc-openstack","homepage":null,"size":809,"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":"rcbops:master","ref":"master","sha":"2239990b08aa160e1621140b56b88c6f632200f0","user":{"login":"rcbops","id":1153548,"avatar_url":"https://avatars.githubusercontent.com/u/1153548?v=3","gravatar_id":"","url":"https://api.github.com/users/rcbops","html_url":"https://github.com/rcbops","followers_url":"https://api.github.com/users/rcbops/followers","following_url":"https://api.github.com/users/rcbops/following{/other_user}","gists_url":"https://api.github.com/users/rcbops/gists{/gist_id}","starred_url":"https://api.github.com/users/rcbops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcbops/subscriptions","organizations_url":"https://api.github.com/users/rcbops/orgs","repos_url":"https://api.github.com/users/rcbops/repos","events_url":"https://api.github.com/users/rcbops/events{/privacy}","received_events_url":"https://api.github.com/users/rcbops/received_events","type":"Organization","site_admin":false},"repo":{"id":30100099,"name":"rpc-openstack","full_name":"rcbops/rpc-openstack","owner":{"login":"rcbops","id":1153548,"avatar_url":"https://avatars.githubusercontent.com/u/1153548?v=3","gravatar_id":"","url":"https://api.github.com/users/rcbops","html_url":"https://github.com/rcbops","followers_url":"https://api.github.com/users/rcbops/followers","following_url":"https://api.github.com/users/rcbops/following{/other_user}","gists_url":"https://api.github.com/users/rcbops/gists{/gist_id}","starred_url":"https://api.github.com/users/rcbops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcbops/subscriptions","organizations_url":"https://api.github.com/users/rcbops/orgs","repos_url":"https://api.github.com/users/rcbops/repos","events_url":"https://api.github.com/users/rcbops/events{/privacy}","received_events_url":"https://api.github.com/users/rcbops/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rcbops/rpc-openstack","description":"Rackspace Private Cloud Offering based on OpenStack","fork":false,"url":"https://api.github.com/repos/rcbops/rpc-openstack","forks_url":"https://api.github.com/repos/rcbops/rpc-openstack/forks","keys_url":"https://api.github.com/repos/rcbops/rpc-openstack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rcbops/rpc-openstack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rcbops/rpc-openstack/teams","hooks_url":"https://api.github.com/repos/rcbops/rpc-openstack/hooks","issue_events_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/events{/number}","events_url":"https://api.github.com/repos/rcbops/rpc-openstack/events","assignees_url":"https://api.github.com/repos/rcbops/rpc-openstack/assignees{/user}","branches_url":"https://api.github.com/repos/rcbops/rpc-openstack/branches{/branch}","tags_url":"https://api.github.com/repos/rcbops/rpc-openstack/tags","blobs_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/refs{/sha}","trees_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rcbops/rpc-openstack/statuses/{sha}","languages_url":"https://api.github.com/repos/rcbops/rpc-openstack/languages","stargazers_url":"https://api.github.com/repos/rcbops/rpc-openstack/stargazers","contributors_url":"https://api.github.com/repos/rcbops/rpc-openstack/contributors","subscribers_url":"https://api.github.com/repos/rcbops/rpc-openstack/subscribers","subscription_url":"https://api.github.com/repos/rcbops/rpc-openstack/subscription","commits_url":"https://api.github.com/repos/rcbops/rpc-openstack/commits{/sha}","git_commits_url":"https://api.github.com/repos/rcbops/rpc-openstack/git/commits{/sha}","comments_url":"https://api.github.com/repos/rcbops/rpc-openstack/comments{/number}","issue_comment_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues/comments{/number}","contents_url":"https://api.github.com/repos/rcbops/rpc-openstack/contents/{+path}","compare_url":"https://api.github.com/repos/rcbops/rpc-openstack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rcbops/rpc-openstack/merges","archive_url":"https://api.github.com/repos/rcbops/rpc-openstack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rcbops/rpc-openstack/downloads","issues_url":"https://api.github.com/repos/rcbops/rpc-openstack/issues{/number}","pulls_url":"https://api.github.com/repos/rcbops/rpc-openstack/pulls{/number}","milestones_url":"https://api.github.com/repos/rcbops/rpc-openstack/milestones{/number}","notifications_url":"https://api.github.com/repos/rcbops/rpc-openstack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rcbops/rpc-openstack/labels{/name}","releases_url":"https://api.github.com/repos/rcbops/rpc-openstack/releases{/id}","created_at":"2015-01-31T02:51:12Z","updated_at":"2015-06-30T18:52:47Z","pushed_at":"2015-07-01T21:17:47Z","git_url":"git://github.com/rcbops/rpc-openstack.git","ssh_url":"git@github.com:rcbops/rpc-openstack.git","clone_url":"https://github.com/rcbops/rpc-openstack.git","svn_url":"https://github.com/rcbops/rpc-openstack","homepage":"","size":1338,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":46,"forks":22,"open_issues":46,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/213"},"html":{"href":"https://github.com/rcbops/rpc-openstack/pull/213"},"issue":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/issues/213"},"comments":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/issues/213/comments"},"review_comments":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/213/comments"},"review_comment":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/pulls/213/commits"},"statuses":{"href":"https://api.github.com/repos/rcbops/rpc-openstack/statuses/7854283be5bc862b1a4fcb5e57b9537f48f8f614"}}}}