{"action":"opened","issue":{"url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/57","repository_url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades","labels_url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/57/comments","events_url":"https://api.github.com/repos/jnv/ansible-role-unattended-upgrades/issues/57/events","html_url":"https://github.com/jnv/ansible-role-unattended-upgrades/issues/57","id":388902890,"node_id":"MDU6SXNzdWUzODg5MDI4OTA=","number":57,"title":"Extend functionality to apt-listchanges","user":{"login":"dnmvisser","id":4074844,"node_id":"MDQ6VXNlcjQwNzQ4NDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4074844?v=4","gravatar_id":"","url":"https://api.github.com/users/dnmvisser","html_url":"https://github.com/dnmvisser","followers_url":"https://api.github.com/users/dnmvisser/followers","following_url":"https://api.github.com/users/dnmvisser/following{/other_user}","gists_url":"https://api.github.com/users/dnmvisser/gists{/gist_id}","starred_url":"https://api.github.com/users/dnmvisser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnmvisser/subscriptions","organizations_url":"https://api.github.com/users/dnmvisser/orgs","repos_url":"https://api.github.com/users/dnmvisser/repos","events_url":"https://api.github.com/users/dnmvisser/events{/privacy}","received_events_url":"https://api.github.com/users/dnmvisser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-08T09:02:05Z","updated_at":"2018-12-08T09:02:05Z","closed_at":null,"author_association":"NONE","body":"If `unattended_mail` is set, the logs will be mailed.\r\nThe default in Debian Stretch is to automagically install security upgrades, and in this case it would be nice to know what the changelog for these packages was.\r\nThis is done with `apt-listchanges`, which is triggered by default from `/etc/apt/apt.conf.d/20listchanges.\r\nBy default the apt-listchanges configuration file `/etc/apt/listchanges.conf` lists:\r\n\r\n```\r\nwhich=news\r\n```\r\n\r\nWhich for unattended installs such as apt, does not send mail.\r\n\r\nHence it would be a nice idea to expand this role so that:\r\n\r\n1. the `email_address` in `/etc/apt/listchanges.conf` is also set to the value to `unattended_mail`.\r\n2. introduce a new config option (`unattended_mail_listchanges` that sets `which=both`.\r\n\r\nThis should probably be done with the ini module, as `/etc/apt/listchanges.conf` is an ini file.\r\n\r\n"}}
{"actor":{"display_login":"dnmvisser"}}