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

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

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