blob: ae1e3645477c0d9510784d36414cdcfd9d669cb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
LVM
===
Description
-----------
The `lvm` role configures the Logical Volume Manager.
Currently this role is only used to disable the `use_devicesfile` option in
`lvm.conf`. This was enabled by default starting in RHEL 9.0, and rendered
some of my systems unbootable after the 9.2 upgrade.
Variables
---------
This role **accepts** the following variables:
Variable | Default | Description
----------------------|---------|------------
`lvm_use_devicesfile` | `no` | Enables use of the LVM [devices file](https://man7.org/linux/man-pages/man8/lvmdevices.8.html)
Usage
-----
Example playbook:
````yaml
- name: configure lvm
hosts: all
roles:
- role: lvm
vars:
lvm_use_devicesfile: no
````
|