diff --git a/scripts/system/files/.hidden b/scripts/system/files/.hidden new file mode 100644 index 0000000..e69de29 diff --git a/tasks/system/change_password_user.py b/tasks/system/change_password_user.py index 5f1be75..1e130c7 100644 --- a/tasks/system/change_password_user.py +++ b/tasks/system/change_password_user.py @@ -28,9 +28,9 @@ class ServerTask(Task): final_ssh_pub='' if self.data['ssh_pub_key']!='': - with open('./modules/webservers/scripts/files/id_rsa.pub', 'w') as f: + with open('./modules/pastafari2/scripts/system/files/id_rsa.pub', 'w') as f: f.write(self.data['ssh_pub_key']) - ssh_pub_key_file='./modules/webservers/scripts/files/id_rsa.pub' + ssh_pub_key_file='./modules/pastafari2/scripts/system/files/id_rsa.pub' self.files.append([ssh_pub_key_file, 0o600]) # ssh-keygen -l -f id_rsa.pub @@ -59,7 +59,7 @@ class ServerTask(Task): def post_task(self): - ssh_pub_key_file='./modules/webservers/scripts/files/id_rsa.pub' + ssh_pub_key_file='./modules/pastafari2/scripts/system/files/id_rsa.pub' if os.path.isfile(ssh_pub_key_file): os.unlink(ssh_pub_key_file)