docker: remove hand-written docker system prune lines from root crontab
This commit is contained in:
@@ -91,3 +91,10 @@
|
||||
when: docker_binary.stat.exists
|
||||
tags: docker_prune
|
||||
|
||||
- name: Remove hand-written docker system prune lines from root crontab
|
||||
ansible.builtin.lineinfile:
|
||||
path: /var/spool/cron/crontabs/root
|
||||
regexp: '^\S+ \S+ \S+ \S+ \S+ docker system prune -af'
|
||||
state: absent
|
||||
tags: docker_prune
|
||||
|
||||
|
||||
Reference in New Issue
Block a user