-
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 documentation for other configurations
- Loading branch information
1 parent
53a574d
commit c77ef62
Showing
2 changed files
with
25 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Other Configurations | ||
Besides the general BiBiGrid configuration there is also an `ansible.cfg` and a `slurm.conf`. | ||
For 99% of all users those never need to be touched. However, some use cases require changes to those configurations. | ||
For that purpose we store defaults in `resources/defaults` and on the first run copy copies to the actual locations | ||
`resources/playbook/ansible.cfg` and `resources/playbook/bibigrid/templates/slurm/slurm.j2`. | ||
That way you can make changes and if something doesn't work, you can just delete the configuration to go back to our | ||
default one. | ||
|
||
## slurm.cfg | ||
The `slurm.j2` is not a static configuration file, but instead a [jinja](https://jinja.palletsprojects.com/en/3.1.x/) template for the actual configuration that is | ||
generated during runtime. That is necessary because it contains the actual instance names that are only known at runtime. | ||
The jinja template is converted to the actual configuration by ansible in the `042-slurm.yml` task. | ||
|
||
The `slurm.j2` also takes certain information from your BiBiGrid configuration (see [slurmConf](configuration.md#slurmconf-optional)). | ||
|
||
Read more about the `slurm.conf` [here](https://slurm.schedmd.com/slurm.conf.html). | ||
|
||
## ansible.cfg | ||
The `ansible.cfg` defines how ansible behaves during runtime. A key that sometimes need to be adapted is `timeout` which | ||
is the timeout for the connection plugin. If your host answers very slowly, a low timeout might cause issues. | ||
|
||
Read more about the `ansible.cfg` [here](https://docs.ansible.com/ansible/latest/reference_appendices/config.html). |