Zack Williams | fc102dd | 2016-03-01 17:31:30 -0700 | [diff] [blame] | 1 | --- |
| 2 | # roles/cloudlab-prep/tasks/main.yml |
| 3 | |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 4 | - name: create directories to mount extra filesystems |
| 5 | file: |
| 6 | dest={{ item }} |
| 7 | state=directory |
| 8 | with_items: "{{ cloudlab_extrafs }}" |
| 9 | |
| 10 | |
Zack Williams | 2fa7ca4 | 2016-04-11 12:45:10 -0700 | [diff] [blame] | 11 | # FIXME: does not create lost+found, -q makes it fail without error... |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 12 | - name: Set up extra disk space |
Zack Williams | 2fa7ca4 | 2016-04-11 12:45:10 -0700 | [diff] [blame] | 13 | command: /usr/testbed/bin/mkextrafs -qf {{ item }} |
Zack Williams | ef434f8 | 2016-04-07 17:15:39 -0700 | [diff] [blame] | 14 | creates={{ item }}/lost+found |
| 15 | with_items: "{{ cloudlab_extrafs }}" |
Zack Williams | fc102dd | 2016-03-01 17:31:30 -0700 | [diff] [blame] | 16 | |