Skip to content

Commit 82cdefa

Browse files
committed
added requirements.yml and update README
1 parent b5cf489 commit 82cdefa

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,11 @@ and needs to be able to use privilege escalation (e.g. `sudo`) on those machines
3030

3131
For the installation of all components we make use of two Ansible roles: the CVMFS installation role provided by the Galaxy project (see
3232
https://github.com/galaxyproject/ansible-cvmfs), and a role for adding the EPEL repository (https://github.com/geerlingguy/ansible-role-repo-epel).
33-
Both repositories are added as a submodule inside the `roles` directory, so make sure to use the `--recursive` option when cloning this repository:
34-
```
35-
git clone --recursive https://github.com/EESSI/filesystem-layer.git
36-
```
37-
Alternatively, clone this repository first, and init and update the required submodules later:
33+
34+
To download the dependency roles do:
3835
```
39-
git clone https://github.com/EESSI/filesystem-layer.git
40-
cd filesystem-layer
41-
git submodule init
42-
git submodule update
36+
ansible-galaxy role install -r requirements.yml -p ./roles
4337
```
44-
For more information about (working with) submodules, see:
45-
https://git-scm.com/book/en/v2/Git-Tools-Submodules
4638

4739
### Configuration
4840

requirements.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
3+
# ansible-galaxy role install -r requirements.yml -p ./roles
4+
roles:
5+
6+
- name: galaxyproject.cvmfs
7+
version: 0.2.10
8+
9+
- name: geerlingguy.repo-epel
10+
version: 1.3.0

0 commit comments

Comments
 (0)