diff --git a/bibigrid/core/actions/create.py b/bibigrid/core/actions/create.py index 8d33d09f..fd54b60d 100644 --- a/bibigrid/core/actions/create.py +++ b/bibigrid/core/actions/create.py @@ -102,10 +102,13 @@ def __init__(self, providers, configurations, config_path, log, debug=False, clu self.log.debug("Keyname: %s", self.key_name) def create_defaults(self): + self.log.debug("Creating default files") if not self.configurations[0].get("customAnsibleCfg", False) or not os.path.isfile(a_rp.ANSIBLE_CFG_PATH): + self.log.debug("Copying ansible.cfg") shutil.copy(a_rp.ANSIBLE_CFG_DEFAULT_PATH, a_rp.ANSIBLE_CFG_PATH) if not self.configurations[0].get("customSlurmConf", False) or not os.path.isfile( a_rp.SLURM_CONF_TEMPLATE_PATH): + self.log.debug("Copying slurm.conf") shutil.copy(a_rp.SLURM_CONF_TEMPLATE_DEFAULT_PATH, a_rp.SLURM_CONF_TEMPLATE_PATH) def generate_keypair(self):