BiBiServ / bibigrid

BiBiGrid is a tool for an easy cluster setup inside a cloud environment.
Apache License 2.0
11 stars 8 forks source link

Feature custom ansible.cfg and custom slurm.conf #488

Closed XaverStiensmeier closed 3 months ago

XaverStiensmeier commented 3 months ago

ansible.cfg and slurm.conf are now only held as defaults that are then copied to the correct location if they are not already present. This allows users to customize their files without loosing them on a new pull and also restore the default version by just deleting their own. This is not done via Ansible pre-tasks as we do not execute Ansible on the machine that runs bibigrid.sh (Ansible runs remotely). We use shutil for now.

Also fixes dev bug that made hosts file persistent instead of resetting them for every cluster run (didn't affect runs).

Closes #485 Closes #475