File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- lmod_version : 8.7
2+ lmod_version : 8.7.55
33
44lmod_required_packages :
55 - lua-5.1.4-15.x86_64
Original file line number Diff line number Diff line change 88
99- name : Download lmod archive
1010 ansible.builtin.get_url :
11- url : https://sourceforge.net/projects/lmod/files/Lmod-{{ lmod_version }}.tar.bz2
12- dest : /opt/Lmod-{{ lmod_version }}.tar.bz2
11+ url : https://github.com/TACC/Lmod/archive/refs/tags/{{ lmod_version }}.tar.gz
12+ # url: https://sourceforge.net/projects/lmod/files/Lmod-{{ lmod_version }}.tar.bz2
13+ dest : /opt/Lmod-{{ lmod_version }}.tar.gz
1314
1415- name : Extract lmod archive
1516 ansible.builtin.unarchive :
16- src : /opt/Lmod-{{ lmod_version }}.tar.bz2
17+ src : /opt/Lmod-{{ lmod_version }}.tar.gz
1718 dest : /opt
1819 creates : /opt/Lmod-{{ lmod_version }}
1920 remote_src : yes
3031
3132- name : Clean up
3233 ansible.builtin.file :
33- path : /opt/Lmod-{{ lmod_version }}.tar.bz2
34+ path : /opt/Lmod-{{ lmod_version }}.tar.gz
3435 state : absent
You can’t perform that action at this time.
0 commit comments