File tree Expand file tree Collapse file tree 5 files changed +26
-17
lines changed Expand file tree Collapse file tree 5 files changed +26
-17
lines changed Original file line number Diff line number Diff line change @@ -94,3 +94,5 @@ roles/*
94
94
! roles /slurm_recompile /**
95
95
! roles /nhc /
96
96
! roles /nhc /**
97
+ ! roles /eessi /
98
+ ! roles /eessi /**
Original file line number Diff line number Diff line change 35
35
environment : " {{ appliances_remote_environment_vars }}"
36
36
gather_facts : false
37
37
tasks :
38
- - name : Install and configure EESSI
39
- import_role :
38
+ - name : Install / configure EESSI
39
+ include_role :
40
40
name : eessi
41
+ tasks_from : " {{ 'configure.yml' if appliances_mode == 'configure' else 'main.yml' }}"
41
42
42
43
- name : Setup CUDA
43
44
hosts : cuda
Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ - name : Add base CVMFS config
4
+ community.general.ini_file :
5
+ dest : /etc/cvmfs/default.local
6
+ section : null
7
+ option : " {{ item.key }}"
8
+ value : " {{ item.value }}"
9
+ no_extra_spaces : true
10
+ loop : " {{ cvmfs_config | dict2items }}"
11
+
12
+
13
+ # NOTE: Not clear how to make this idempotent
14
+ - name : Ensure CVMFS config is setup
15
+ command :
16
+ cmd : " cvmfs_config setup"
Original file line number Diff line number Diff line change 1
1
---
2
+
2
3
- name : Download Cern GPG key
3
4
ansible.builtin.get_url :
4
5
url : http://cvmrepo.web.cern.ch/cvmrepo/yum/RPM-GPG-KEY-CernVM
31
32
# - name: Install EESSI CVMFS config
32
33
# dnf:
33
34
# name: cvmfs-config-eessi
34
-
35
- - name : Add base CVMFS config
36
- community.general.ini_file :
37
- dest : /etc/cvmfs/default.local
38
- section : null
39
- option : " {{ item.key }}"
40
- value : " {{ item.value }}"
41
- no_extra_spaces : true
42
- loop : " {{ cvmfs_config | dict2items }}"
43
-
44
-
45
- # NOTE: Not clear how to make this idempotent
46
- - name : Ensure CVMFS config is setup
47
- command :
48
- cmd : " cvmfs_config setup"
Original file line number Diff line number Diff line change
1
+ ---
2
+
3
+ - include_tasks : install.yml
4
+ - include_tasks : configure.yml
You can’t perform that action at this time.
0 commit comments