dnf5-automatic: f41 conditional hotfix
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
9e594966a9
commit
be377b8267
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Restart dnf-automatic timer
|
||||
ansible.builtin.systemd:
|
||||
name: "{{ 'dnf5-automatic.timer' if (ansible_distribution_major_version | int < 41 and ansible_distribution == 'Fedora') else 'dnf-automatic-install.timer' }}"
|
||||
name: "{{ 'dnf5-automatic.timer' if (ansible_distribution_major_version | int >= 41 and ansible_distribution == 'Fedora') else 'dnf-automatic-install.timer' }}"
|
||||
state: restarted
|
||||
daemon_reload: yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue