cancel
Showing results for 
Search instead for 
Did you mean: 
  • 905 Views

Role Readme.md for redhat.rhel_system_roles.storage Ch9 system-review

Jump to solution

 

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.

Brucewayne3210_0-1700594342848.png

 

Labels (1)
1 Solution

Accepted Solutions
Travis
Moderator
Moderator
  • 898 Views

@Brucewayne3210 -

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.

 

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managi...

 

 

 

 

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training

View solution in original post

2 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 899 Views
0 Kudos
Travis
Moderator
Moderator
  • 899 Views

@Brucewayne3210 -

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.

 

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managi...

 

 

 

 

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Join the discussion
You must log in to join this conversation.