ANSIBLE.FILESYSTEM(3)

NAME
filesystem - Makes file system on block device

DESCRIPTION

This module creates file system.

OPTIONS

dev Target block device.(required)

force
    If yes, allows to create new filesystem on devices that already has filesystem. Choices: yes,no. (default: no)

fstype
    File System type to be created.(required)

opts
    List of options to be passed to mkfs command..

NOTES

uses mkfs command

EXAMPLES
# Create a ext2 filesystem on /dev/sdb1.
- filesystem: fstype=ext2 dev=/dev/sdb1
# Create a ext4 filesystem on /dev/sdb1 and check disk blocks.
- filesystem: fstype=ext4 dev=/dev/sdb1 opts="-cc"

AUTHOR
Alexander Bulimov

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#filesystem