Skip to content
Snippets Groups Projects

debian-updates: only manage aliases on pre-bullseye hosts

Merged Lars Beckers requested to merge debian-updates-alias into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -90,6 +90,7 @@
@@ -90,6 +90,7 @@
line: '{{ apticron_to|regex_replace("@.*$") }}:"|/opt/debian-updates/receive.py"'
line: '{{ apticron_to|regex_replace("@.*$") }}:"|/opt/debian-updates/receive.py"'
path: /etc/aliases
path: /etc/aliases
state: present
state: present
 
when: ansible_distribution_major_version|int(default=99) < 11
notify:
notify:
- rebuild alias database
- rebuild alias database
tags:
tags:
Loading