Install Lmod package from EPEL repo and configures it using environment variables in a profile file "/etc/profile.d/zzz_lmod_settings.sh"
None
LMOD_AUTO_SWAP: false
LMOD_CACHED_LOADS: true
LMOD_CASE_INDEPENDENT_SORTING: true
LMOD_DISABLE_NAME_AUTOSWAP: true
LMOD_EXACT_MATCH: true
LMOD_MPATH_AVAIL: true
LMOD_PIN_VERSIONS: true
LMOD_MODULEPATH: "/soft/modules/all"
LMOD_ADD_EPEL_REPO: true
None
- hosts: servers
roles:
- { role: pescobar.lmod }
GPLv3
Pablo Escobar Lopez