jjaswanson4 / setup_rhel_for_satellite

Ansible collection to validate and set up a RHEL7 host to run satellite6
GNU General Public License v2.0
1 stars 1 forks source link

Support creation of new VGs for LVs #1

Open jjaswanson4 opened 4 years ago

jjaswanson4 commented 4 years ago

Under the logical_volumes list, I should be able to specify a volume group and have it be created if needed:

tabowling commented 3 years ago

Would using the Storage role from rhel-system-roles or linux-system-roles satisfy this need? https://github.com/linux-system-roles/storage

I've created a sample here https://github.com/tabowling/ansible-schtuff/blob/master/sat-storage.yml that could be useful where the Satellite data is stored on a separate disk, such as iscsi or external USB disk. I did not include the smaller ones that could reasonably still be local such as the /var/log and /opt dirs. What do you think?

jjaswanson4 commented 3 years ago

Agreed that the storage role should be used here.

The one thing I'll need to look at is how that role handles existing mountpoints. Right now the setup_storage role will expand /var, /opt, or really any existing mount point. I've had issues with that storage rule but that was probably many revisions ago.