blob: 5dc9c2ccb3befc1a49a5fe776cbb4a0354a22daf [file] [log] [blame]
Zack Williamsfc102dd2016-03-01 17:31:30 -07001---
2# roles/cloudlab-prep/tasks/main.yml
3
Zack Williamsef434f82016-04-07 17:15:39 -07004- name: create directories to mount extra filesystems
Zack Williams5ae57ef2016-04-12 14:01:58 -07005 file:
Zack Williamsef434f82016-04-07 17:15:39 -07006 dest={{ item }}
7 state=directory
8 with_items: "{{ cloudlab_extrafs }}"
9
10
Zack Williams2fa7ca42016-04-11 12:45:10 -070011# FIXME: does not create lost+found, -q makes it fail without error...
Zack Williamsef434f82016-04-07 17:15:39 -070012- name: Set up extra disk space
Zack Williams2fa7ca42016-04-11 12:45:10 -070013 command: /usr/testbed/bin/mkextrafs -qf {{ item }}
Zack Williamsef434f82016-04-07 17:15:39 -070014 creates={{ item }}/lost+found
15 with_items: "{{ cloudlab_extrafs }}"
Zack Williamsfc102dd2016-03-01 17:31:30 -070016