2016-12-13 09:36:17 -06:00
|
|
|
---
|
|
|
|
- name: Install rkt
|
2018-01-29 14:37:48 +03:00
|
|
|
import_tasks: install.yml
|
2018-06-25 09:38:24 +02:00
|
|
|
when: not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"]
|
2018-06-29 19:53:21 +03:00
|
|
|
|
|
|
|
- name: Set up cron job to do garbage cleanup
|
|
|
|
copy:
|
|
|
|
src: rkt-gc.sh
|
|
|
|
dest: /etc/cron.hourly/rkt-gc.sh
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0750
|
|
|
|
when: not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"]
|