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
|
become_user: root
|
||||||
|
|
||||||
- block:
|
- block:
|
||||||
- name: Remove default cronjobs for yum-cron
|
- name: Disable default cronjobs for yum-cron
|
||||||
file:
|
copy:
|
||||||
path: "{{ item }}"
|
content: |
|
||||||
state: absent
|
# Ansible managed.
|
||||||
|
# File was moved to '/etc/cron.d/x-yum'
|
||||||
|
dest: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
- /etc/cron.daily/0yum-daily.cron
|
- /etc/cron.daily/0yum-daily.cron
|
||||||
- /etc/cron.hourly/0yum-hourly.cron
|
- /etc/cron.hourly/0yum-hourly.cron
|
||||||
|
Loading…
Reference in New Issue
Block a user