chore: dont remove default yum-cron cronjob
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2021-05-25 18:30:32 +02:00
parent 67ee7030c6
commit d904433e0a
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 6 additions and 4 deletions

View File

@ -22,10 +22,12 @@
become_user: root
- block:
- name: Remove default cronjobs for yum-cron
file:
path: "{{ item }}"
state: absent
- name: Disable default cronjobs for yum-cron
copy:
content: |
# Ansible managed.
# File was moved to '/etc/cron.d/x-yum'
dest: "{{ item }}"
loop:
- /etc/cron.daily/0yum-daily.cron
- /etc/cron.hourly/0yum-hourly.cron