diff --git a/src/rkd_harbor/tasks/deployment/base.py b/src/rkd_harbor/tasks/deployment/base.py index 9efac30..f72c447 100644 --- a/src/rkd_harbor/tasks/deployment/base.py +++ b/src/rkd_harbor/tasks/deployment/base.py @@ -86,7 +86,7 @@ def _process_config_private_keys(self): if 'private_key' not in self._config['nodes'][group_name][node_num]: continue - if '-----BEGIN OPENSSH PRIVATE KEY' not in self._config['nodes'][group_name][node_num]['private_key']: + if '-----BEGIN' not in self._config['nodes'][group_name][node_num]['private_key']: continue tmp_path = self.temp.assign_temporary_file(mode=0o700)