{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph-ansible/issues/508","labels_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/508/comments","events_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/508/events","html_url":"https://github.com/ceph/ceph-ansible/pull/508","id":129813029,"number":508,"title":"[WIP] Control when ceph packages get updated","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-29T16:20:07Z","updated_at":"2016-02-01T12:45:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph-ansible/pulls/508","html_url":"https://github.com/ceph/ceph-ansible/pull/508","diff_url":"https://github.com/ceph/ceph-ansible/pull/508.diff","patch_url":"https://github.com/ceph/ceph-ansible/pull/508.patch"},"body":"Currently, all the ceph package installation resources use\r\n\"state=latest\", which means subsequent runs of the ceph playbooks\r\ncould result in ceph being upgraded if there are package updates\r\navailable in the selected repo.\r\n\r\nThis commit adds a new variable to ceph-common called\r\n'upgrade_ceph_packages' which defaults to False.  This variable is used\r\nin the package installation resources for ceph packages to determine if\r\nthe resource should use \"state=present\" or \"state=latest\".  If the\r\nvariable gets set to True, \"state=latest\" will be used.\r\n\r\nAdditionally, we update rolling_update.yml to override\r\nupgrade_ceph_packages to true to permit package upgrades in this\r\ncontext specifically.\r\n\r\nCloses issue #506"},"comment":{"url":"https://api.github.com/repos/ceph/ceph-ansible/issues/comments/177956454","html_url":"https://github.com/ceph/ceph-ansible/pull/508#issuecomment-177956454","issue_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/508","id":177956454,"user":{"login":"leseb","id":912735,"avatar_url":"https://avatars.githubusercontent.com/u/912735?v=3","gravatar_id":"","url":"https://api.github.com/users/leseb","html_url":"https://github.com/leseb","followers_url":"https://api.github.com/users/leseb/followers","following_url":"https://api.github.com/users/leseb/following{/other_user}","gists_url":"https://api.github.com/users/leseb/gists{/gist_id}","starred_url":"https://api.github.com/users/leseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leseb/subscriptions","organizations_url":"https://api.github.com/users/leseb/orgs","repos_url":"https://api.github.com/users/leseb/repos","events_url":"https://api.github.com/users/leseb/events{/privacy}","received_events_url":"https://api.github.com/users/leseb/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T12:45:31Z","updated_at":"2016-02-01T12:45:31Z","body":"@alfredodeza thoughts?"}}