diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-01-10 15:53:25 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-01-10 16:05:57 +0100 |
commit | edd1d3174982c5f4d5253944369002e9343cd5e4 (patch) | |
tree | 6d299b34da46fa696eecd93fd72eb7acf9c53456 /roles/storage/lvm/volume | |
parent | cleanup testvm config (diff) |
storage/lvm/base: allow global volumes
Diffstat (limited to 'roles/storage/lvm/volume')
-rw-r--r-- | roles/storage/lvm/volume/defaults/main.yml | 2 | ||||
-rw-r--r-- | roles/storage/lvm/volume/tasks/main.yml | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/roles/storage/lvm/volume/defaults/main.yml b/roles/storage/lvm/volume/defaults/main.yml index a64a7c86..6c0d6cf5 100644 --- a/roles/storage/lvm/volume/defaults/main.yml +++ b/roles/storage/lvm/volume/defaults/main.yml @@ -1,7 +1,7 @@ --- # lvm_volume: # parent: -# type: lvm +# thinpool: true # ... # vg: foo # lv: bar diff --git a/roles/storage/lvm/volume/tasks/main.yml b/roles/storage/lvm/volume/tasks/main.yml index 166d6ff8..5b9cb1e7 100644 --- a/roles/storage/lvm/volume/tasks/main.yml +++ b/roles/storage/lvm/volume/tasks/main.yml @@ -4,7 +4,6 @@ assert: msg: "the volume parent must be a lvm thinpool" that: - - lvm_volume.parent.type == 'lvm' - (lvm_volume.parent.thinpool | default(false)) - name: install thin-provisioning-tools |