1
0
mirror of https://github.com/inofix/common-playbooks.git synced 2026-02-05 12:45:29 +01:00
Files
common-playbooks/install-incron.yml
Michael Lustenberger 3b0abb5e11 Incron
Add incron to the list of supported tools.
2022-12-29 01:10:08 +01:00

26 lines
798 B
YAML

#* This playbook wrapps the apt (and others maybe in the future..) module
#* to install `incron` and (currently only on Debian bullseye-backports.)
#* It is the first one in the row and thus has no dependencies.
#* Use '-a' to pass parameters to ansible (as '-e'). See ansible fetch for
#* details.
#* No arguments are mandatory.
- hosts: app.incron, &os.debian_bullseye
become: true
roles:
- add-backports
- inofix.yapkg
vars:
- yapkg__task_group_name: 'incron'
- yapkg__names: '{{ os__pkg_name.incron[os__distro][os__codename] | d([ "incron" ]) }}'
# not enabling this yet, as it only tracks 'today'
# it is only useful for human communication and needs
# to be combined with something smarter as
# dpkg --get-selections
#- hosts: all
# roles:
# - track-packages