Add PVE LVM Storage #254
-
Hey there, is it already possible to add a local LVM storage?
Cheers - Willi |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
For that you will want to use the Footnotes |
Beta Was this translation helpful? Give feedback.
-
Hey @lae, thank you so much. I will do that. Cheers - Willi |
Beta Was this translation helpful? Give feedback.
path
isn't an accepted attribute in Proxmox's API1. Your YAML looks fine (although indentation seems a bit off) if you remove thepath
attribute. All this does is configure Proxmox's storage configuration, though. It does not create the actual LVM volume group, which I assume is what you're attempting to do here?For that you will want to use the
community.general.lvg
2 Ansible module, probably as apre_task
or another play that runs before this Proxmox role.Footnotes
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/storage/{storage} ↩
https://docs.ansible.com/ansible/latest/collections/community/general/lvg_module.html ↩