-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added roles structure * updated roles_path * fixed upper lower case * improved customRole implementation * minor fixes regarding role_paths * improved variable naming of user_roles
- Loading branch information
1 parent
7eaae20
commit 3533540
Showing
7 changed files
with
51 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# User Roles | ||
This folder can be filled with [galaxy roles](https://docs.ansible.com/ansible/latest/galaxy/user_guide.html). | ||
They will not be overwritten when pulling a new BiBiGrid version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# User Roles | ||
This folder can be filled with your own custom roles. They will not be overwritten when pulling a new BiBiGrid version. |
25 changes: 25 additions & 0 deletions
25
resources/playbook/roles_user/resistance_nextflow/tasks/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
- debug: | ||
msg: | ||
- "Hello {{ ansible_user }}!" | ||
|
||
- name: Unarchive ZIP file from GitHub repository | ||
unarchive: | ||
src: "https://github.com/deNBI/bibigrid_clum/raw/main/resources/Resistance_Nextflow.tar.xz" | ||
dest: "/vol/spool/" | ||
remote_src: yes | ||
|
||
- name: Install Java JRE on Debian/Ubuntu | ||
become: True | ||
apt: | ||
name: default-jre # Package name for Java JRE on Debian-based systems | ||
state: present # Ensure that the package is present, you can use "latest" as well | ||
|
||
- name: Get Nextflow | ||
shell: wget -qO- https://get.nextflow.io | bash | ||
args: | ||
chdir: /vol/spool/ | ||
|
||
- name: Execute Nextflow workflow | ||
shell: ./nextflow run resFinder.nf -profile slurm | ||
args: | ||
chdir: "/vol/spool" # Change to the directory where your workflow resides |