You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both lv and vg tasks are checking for lvm2 package to be installed. This results in duplicate checking which can slow down playbook execution.
[tbowling@tbowling storage]$ grep LVM2 */*
tasks/lv-default.yml:- name: Install LVM2 commands as needed
tasks/vg-default.yml:- name: Install LVM2 commmands as needed
It would be better to check for any packages one time at a global level, This would include any other toolings such as lvm2, parted, or others. A WHEN condition could be used so that you are only checking for those packages when that technology is requested. for example, if use_partitions is false, do not verify that package is installed.
The text was updated successfully, but these errors were encountered:
Both lv and vg tasks are checking for lvm2 package to be installed. This results in duplicate checking which can slow down playbook execution.
It would be better to check for any packages one time at a global level, This would include any other toolings such as lvm2, parted, or others. A WHEN condition could be used so that you are only checking for those packages when that technology is requested. for example, if use_partitions is false, do not verify that package is installed.
The text was updated successfully, but these errors were encountered: