Skip to content
Snippets Groups Projects
Unverified Commit a36e3fbe authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by GitHub
Browse files

Add rkt gc task (#2945)

parent 35a35974
Branches
Tags
No related merge requests found
#!/bin/bash
rkt gc
--- ---
- name: Install rkt - name: Install rkt
import_tasks: install.yml import_tasks: install.yml
when: not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"] when: not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"]
- 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"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment