{"action":"created","issue":{"url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/6","labels_url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/6/comments","events_url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/6/events","html_url":"https://github.com/jnv/ansible-role-unattended-upgrades/issues/6","id":67935388,"number":6,"title":"Install the update-notifier-common package if required","user":{"login":"jmgq","id":7648952,"avatar_url":"https://avatars.githubusercontent.com/u/7648952?v=3","gravatar_id":"","url":"https://api.github.com/users/jmgq","html_url":"https://github.com/jmgq","followers_url":"https://api.github.com/users/jmgq/followers","following_url":"https://api.github.com/users/jmgq/following{/other_user}","gists_url":"https://api.github.com/users/jmgq/gists{/gist_id}","starred_url":"https://api.github.com/users/jmgq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmgq/subscriptions","organizations_url":"https://api.github.com/users/jmgq/orgs","repos_url":"https://api.github.com/users/jmgq/repos","events_url":"https://api.github.com/users/jmgq/events{/privacy}","received_events_url":"https://api.github.com/users/jmgq/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-04-12T17:08:31Z","updated_at":"2015-10-11T21:44:44Z","closed_at":"2015-05-04T00:47:04Z","body":"According to https://help.ubuntu.com/community/AutomaticSecurityUpdates (and several other sources):\r\n> If you want the script to automatically reboot when needed, you not only need to set `Unattended-Upgrade::Automatic-Reboot \"true\"`, but you also need to have the \"**update-notifier-common**\" package installed. On minimal installations this is not installed by default and without it the automatic updater will never reboot and will not even tell you that you need to reboot manually if you have email notifications configured!\r\n\r\nI think it would be nice to have a conditional task that installs the aforementioned package if necessary (that is, if the `unattended_automatic_reboot` variable is set to true)."},"comment":{"url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/comments/147248946","html_url":"https://github.com/jnv/ansible-role-unattended-upgrades/issues/6#issuecomment-147248946","issue_url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/6","id":147248946,"user":{"login":"jnv","id":616767,"avatar_url":"https://avatars.githubusercontent.com/u/616767?v=3","gravatar_id":"","url":"https://api.github.com/users/jnv","html_url":"https://github.com/jnv","followers_url":"https://api.github.com/users/jnv/followers","following_url":"https://api.github.com/users/jnv/following{/other_user}","gists_url":"https://api.github.com/users/jnv/gists{/gist_id}","starred_url":"https://api.github.com/users/jnv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnv/subscriptions","organizations_url":"https://api.github.com/users/jnv/orgs","repos_url":"https://api.github.com/users/jnv/repos","events_url":"https://api.github.com/users/jnv/events{/privacy}","received_events_url":"https://api.github.com/users/jnv/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T21:44:44Z","updated_at":"2015-10-11T21:44:44Z","body":"Sure! We will need extra instructions, perhaps a separate role for adding backports. "}}