The review asks to create a playbook named storage.yml to run on the websers host group using this role. It says use LVM. My question is the Readme.md d found in /usr/share/ansible/collections/ansible_collections/redhat/rhel_system_roles/roles/storage/README.md does not show any lvm option. How do we know what the options are for a role if the readme does not have it specified? Maybe I missed something. I just would hate to get stuck using a role looking for an option that the documentation does not say how to use. Im sure I missed something. I was just going back through this. Any help would be great.
So generally the README always has the options specified and it has it specified in this role too. It mentions that the role provisions LVM volumes and tells you what the volume names are and how to use the various variables in the role. Unfortunately, Markdown (MD) files aren't the easiest thing to read from a CLI or terminal window.
The example there does show a useable playbook. It is easier to consume when rendered from Github or MD reader.
https://github.com/linux-system-roles/storage/
If you read, the storage pools is the LVM option. That creates the PV from the phyiscal disks. Then the volumes section creates the logical volumes and volume groups and defines the mount points and how the volumes should be formatted.
The RHEL documentation also does a good job of showing how to use the roles.
Hello @Brucewayne3210 !
Thanks for reaching out !
Have you referred this : https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managi...
So generally the README always has the options specified and it has it specified in this role too. It mentions that the role provisions LVM volumes and tells you what the volume names are and how to use the various variables in the role. Unfortunately, Markdown (MD) files aren't the easiest thing to read from a CLI or terminal window.
The example there does show a useable playbook. It is easier to consume when rendered from Github or MD reader.
https://github.com/linux-system-roles/storage/
If you read, the storage pools is the LVM option. That creates the PV from the phyiscal disks. Then the volumes section creates the logical volumes and volume groups and defines the mount points and how the volumes should be formatted.
The RHEL documentation also does a good job of showing how to use the roles.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.