Ansible Module mount
Jump to navigation
Jump to search
External
Internal
Overview
Mount and unmount devices while synchronizing the corresponding /etc/fstab state.
Examples
Mount a Device and Add it to /etc/fstab
- name: mount storage and update /etc/fstab
mount:
state: mounted
path: /mnt/ebs0
src: /dev/xvdb
fstype: xfs