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).
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 useshutil
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