blob: 6c6195c8aab67a23f684ad158f07fe79cebc630c [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
5 file:
6 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