Migrate the code for mount_device
This commit is contained in:
45
roles/mount_device/README.md
Normal file
45
roles/mount_device/README.md
Normal file
@@ -0,0 +1,45 @@
|
||||
ansible-mount-device
|
||||
=========
|
||||
|
||||
Mount the given block device.
|
||||
|
||||
This is essentially a thin wrapper about `ansible.posix.mount` created to standardize handling mounts.
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
None
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
|
||||
`devices`: a list of objects, describing which device should be mounted, and how (see below for an example)
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
None
|
||||
|
||||
Example Playbook
|
||||
----------------
|
||||
|
||||
```yaml
|
||||
- role: mount_device
|
||||
devices:
|
||||
- what: /dev/vdb
|
||||
where: "/somewhere"
|
||||
fstype: ext4
|
||||
opts:
|
||||
- noatime
|
||||
state: mounted
|
||||
```
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
BSD
|
||||
|
||||
Author Information
|
||||
------------------
|
||||
|
||||
corvus-migratorius@proton.me
|
||||
Reference in New Issue
Block a user