test-setup-swifthosts: Add -K option to mkfs.xfs

The underlaying device is not a real hard disk so there is no
need to use the discard option.

Change-Id: I5b268c7a3d772e8207c3dc276731a0a7f12f04eb
This commit is contained in:
Markos Chandras 2017-07-12 08:46:40 +01:00
parent 01444b18c8
commit d47f415fb2
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@
- name: Format the Swift files
filesystem:
fstype: xfs
opts: '-K'
dev: "/opt/{{ container_name}}_{{ item }}.img"
when: swift_create | changed
with_items: