Commit 32016b59 authored by Florian Kempenich's avatar Florian Kempenich
Browse files

Fix bug

parent e6f348f4
......@@ -44,7 +44,7 @@ def _ask_for_configuration():
def _create_configuration_file(ssh_key, do_token):
if not os.path.exists(os.path.join(ANSIBLE, CONFIGURATION)):
os.makedirs(ANSIBLE + CONFIGURATION)
os.makedirs(os.path.join(ANSIBLE, CONFIGURATION))
with open(os.path.join(ANSIBLE, CONFIGURATION, CONFIGURATION_FILE), "w+") as file:
file.write('ssh_pub_key_name_on_digitalocean: "Main SSH Key"\n')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment