DEBOPS.APT_LISTCHANGES(5)

NAME
debops.apt_listchanges - Manage apt-listchanges using Ansible

SYNOPSIS

debops service/apt_listchanges [--limit group,host,...] [--diff] [--check] [--tags tag1,tag2,...] [--skip-tags tag1,tag2,...] [<ansible-playbook options>] ...

DESCRIPTION

The apt-listchanges package is used to notify system administrator about package changes from Changelog and NEWS files. The role will configure this script to send that information via email messages to specified addresses.

GETTING STARTED

  Default configuration

By default only important NEWS changes will be sent by apt-listchanges to the system administrators. If the role detects that the apticron is installed, mails from APT operations will be disabled.

  Example inventory

The debops.apt_listchanges role is included in the DebOps common.yml playbook and doesn't need to be enabled on a host.

  Example playbook

If you are using this role without DebOps, here's an example Ansible playbook that uses the debops.apt_listchanges role:

---
- name: Configure apt-listchanges
  collections: [ 'debops.debops', 'debops.roles01',
                 'debops.roles02', 'debops.roles03' ]
  hosts: [ 'debops_all_hosts', 'debops_service_apt_listchanges' ]
  become: True
  environment: '{{ inventory__environment | d({})
                   | combine(inventory__group_environment | d({}))
                   | combine(inventory__host_environment  | d({})) }}'
  roles:
    - role: apt_listchanges
      tags: [ 'role::apt_listchanges', 'skip::apt_listchanges' ]

AUTHOR
Maciej Delmanowski

COPYRIGHT
2014-2022, Maciej Delmanowski, Nick Janetakis, Robin Schneider and others