chore: dont remove default yum-cron cronjob
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
67ee7030c6
commit
d904433e0a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user