Open jjaswanson4 opened 4 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?
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.
Under the logical_volumes list, I should be able to specify a volume group and have it be created if needed: