2016-12-13 15:36:17 +00:00
|
|
|
---
|
|
|
|
- name: Install rkt
|
2018-01-29 11:37:48 +00:00
|
|
|
import_tasks: install.yml
|
2018-06-25 07:38:24 +00:00
|
|
|
when: not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"]
|
2018-06-29 16:53:21 +00: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"]
|