From 7de05c2aaba55e36977d9ebd261a87da8cfe1e9d Mon Sep 17 00:00:00 2001 From: George Hunt Date: Tue, 14 Jun 2016 10:13:39 -0700 Subject: [PATCH] increase /tmp for rpi for kalite get_url --- roles/0-once/tasks/hw_rpi2.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/0-once/tasks/hw_rpi2.yml b/roles/0-once/tasks/hw_rpi2.yml index 21840b1a..c0d6b6ae 100644 --- a/roles/0-once/tasks/hw_rpi2.yml +++ b/roles/0-once/tasks/hw_rpi2.yml @@ -4,6 +4,7 @@ owner:root group:root mode:0644 + when: rtc_id is defined and rtc_id != "none" - name: Use compiled hostapd, and wpa_supplicant if tplink WM725M @@ -51,3 +52,8 @@ - name: Enable rootfs resizing service service: name=xsce-rpi-root-resize enabled=yes + +- name: Enlarge the /tmp directory so that url_get does not error out + lineinfile: dest=/etc/fstab + regexp='^none' + line='none /tmp tmpfs rw,size=800m 0 0'