Commit b02f2a7b authored by Robin Fischer's avatar Robin Fischer

Throw no error on already existing

parent 54730587
......@@ -28,10 +28,10 @@ certbot_config_dir = os.path.join(working_dir, "config")
certbot_logs_dir = os.path.join(working_dir, "logs")
certbot_workspace_dir = os.path.join(working_dir, "workspace")
os.makedirs(certbot_config_dir)
os.makedirs(certbot_logs_dir)
os.makedirs(certbot_workspace_dir)
os.makedirs(target_site_dir)
os.makedirs(certbot_config_dir, exist_ok=True)
os.makedirs(certbot_logs_dir, exist_ok=True)
os.makedirs(certbot_workspace_dir, exist_ok=True)
os.makedirs(target_site_dir, exist_ok=True)
certbot_parameters = [
"certbot", "certonly",
......
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