diff --git a/CHANGELOG.md b/CHANGELOG.md index d1ddf4ec..3d2caefe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -86,6 +86,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * webapps/nextcloud: fix misplaced gid attribute * webapps/nextcloud: fix missing gid * php: drop apt_preferences(5) file for sury +* listupgrade: try and get rid of duplicate entries ### Removed diff --git a/listupgrade/tasks/main.yml b/listupgrade/tasks/main.yml index dec4881d..78c655e9 100644 --- a/listupgrade/tasks/main.yml +++ b/listupgrade/tasks/main.yml @@ -45,6 +45,19 @@ owner: root group: root +- name: Disable listupgrade cron with an extra ending space + ansible.builtin.cron: + name: "listupgrade.sh" + cron_file: "listupgrade" + user: root + job: "/usr/share/scripts/listupgrade.sh --cron " + minute: "{{ listupgrade_cron_minute }}" + hour: "{{ listupgrade_cron_hour }}" + weekday: "{{ listupgrade_cron_weekday }}" + day: "{{ listupgrade_cron_day }}" + month: "{{ listupgrade_cron_month }}" + state: "absent" + - name: Enable listupgrade cron ansible.builtin.cron: name: "listupgrade.sh"