ANSIBLE.MOUNT(3)

NAME
mount - Control active and configured mount points

DESCRIPTION

This module controls active and configured mount points in /etc/fstab.

OPTIONS

dump
    dump (see fstab(8))

fstype
    file-system type(required)

name
    path to the mount point, eg: /mnt/files(required)

opts
    mount options (see fstab(8))

passno
    passno (see fstab(8))

src device to be mounted on name.(required)

state
    If mounted or unmounted, the device will be actively mounted or unmounted as well as just configured in fstab. absent and present only deal with fstab. Choices: present,absent,mounted,unmounted.(required)."

EXAMPLES

Mount DVD read-only
mount: name=/mnt/dvd src=/dev/sr0 fstype=iso9660 opts=ro state=present

Mount up device by label
mount: name=/srv/disk src='LABEL=SOME_LABEL' state=present

Mount up device by UUID
mount: name=/home src='UUID=b3e48f45-f933-4c8e-a700-22a159ec9077' opts=noatime state=present
None

AUTHOR
Seth Vidal

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