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