Commit 040afa8c authored by Lars Beckers's avatar Lars Beckers
Browse files

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

parent a13010c5
Pipeline #3013 passed with stage
in 38 seconds
...@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment