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/*
9494! roles /slurm_recompile /**
9595! roles /nhc /
9696! roles /nhc /**
97+ ! roles /eessi /
98+ ! roles /eessi /**
Original file line number Diff line number Diff line change 3535 environment : " {{ appliances_remote_environment_vars }}"
3636 gather_facts : false
3737 tasks :
38- - name : Install and configure EESSI
39- import_role :
38+ - name : Install / configure EESSI
39+ include_role :
4040 name : eessi
41+ tasks_from : " {{ 'configure.yml' if appliances_mode == 'configure' else 'main.yml' }}"
4142
4243- name : Setup CUDA
4344 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 11---
2+
23- name : Download Cern GPG key
34 ansible.builtin.get_url :
45 url : http://cvmrepo.web.cern.ch/cvmrepo/yum/RPM-GPG-KEY-CernVM
3132# - name: Install EESSI CVMFS config
3233# dnf:
3334# 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