-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead dynamically set the slurm configuration with the original hostname.
- Loading branch information
1 parent
2f3177f
commit d5bb11d
Showing
10 changed files
with
17 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
slurm_hostname: qmobile | ||
slurm_user: slurm | ||
slurm_cluster_name: "{{ slurm_hostname }}" | ||
slurm_partition_name: jobs | ||
|
||
slurm_test_folder: "/tmp/slurm-tests" | ||
|
||
# Adds a system service that forces the hostname on startup | ||
# Note: This is e.g. necessary on cloud platforms like AWS | ||
slurm_hostname_service: false | ||
slurm_set_hostname: false | ||
|
||
# Enables the slurm-resources system service that re-configures the slurm compute resources on startup | ||
# This is necessary when preparing image that can start on a different hardware than it was built on | ||
slurm_resources_service_enabled: true |
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 |
---|---|---|
@@ -1,9 +1,4 @@ | ||
- hosts: all | ||
|
||
vars: | ||
- run_tests: true | ||
- cloud_platform: docker | ||
- slurm_hostname_service: true | ||
|
||
roles: | ||
- role: marvel-nccr.slurm |
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 |
---|---|---|
|
@@ -33,3 +33,4 @@ provisioner: | |
all: | ||
vars: | ||
ansible_python_interpreter: /usr/bin/python3 | ||
run_tests: true |
This file was deleted.
Oops, something went wrong.
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
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