listupgrade: try and get rid of duplicate entries
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2672|7|2665|6|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/450//ansiblelint">Evolix » ansible-roles » unstable #450</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details

This commit is contained in:
David Prevot 2024-01-17 17:06:50 +01:00
parent bceb3f5c27
commit 531b633d99
2 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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"