File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ This specifies the type of pool to manage.
2525Valid values for ` type ` : ` lvm ` .
2626
2727##### ` disks `
28- This specifies the set of disks to use as backing storage for the pool.
28+ A list which specifies the set of disks to use as backing storage for the pool
29+ (a ` /dev/ ` or ` /dev/mapper/ ` prefix is prepended if the name is not an absolute path).
2930
3031##### ` volumes `
3132This is a list of volumes that belong to the current pool. It follows the
@@ -82,18 +83,20 @@ Example Playbook
8283 roles :
8384 - name : storage
8485 storage_pools :
85- - name : " {{ app_name }}"
86- disks : " {{ app_data_wwns }}"
86+ - name : app
87+ disks :
88+ - /dev/sdb
89+ - /dev/sdc
8790 volumes :
8891 - name : shared
8992 size : " 100 GiB"
90- mount_point : " {{ app_root}} /shared"
93+ mount_point : " /mnt/app /shared"
9194 # fs_type: xfs
9295 state : present
9396 - name : users
9497 size : " 400g"
9598 fs_type : ext4
96- mount_point : " {{ app_root }} /users"
99+ mount_point : " /mnt/app /users"
97100 storage_volumes :
98101 - name : images
99102 type : disk
You can’t perform that action at this time.
0 commit comments