[fix] role:tlscert_acme_inwx
This commit is contained in:
parent
17b581aa61
commit
b1ef98bc00
|
|
@ -194,7 +194,6 @@ def conf_load(
|
||||||
"password": conf_data_raw.get("account", {}).get("password", None),
|
"password": conf_data_raw.get("account", {}).get("password", None),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print(_json.dumps(_conf_data, indent = "\t"))
|
|
||||||
|
|
||||||
|
|
||||||
def conf_get(
|
def conf_get(
|
||||||
|
|
@ -500,7 +499,7 @@ def main(
|
||||||
dest = "environment",
|
dest = "environment",
|
||||||
metavar = "<environment>",
|
metavar = "<environment>",
|
||||||
default = None,
|
default = None,
|
||||||
help = "environment to use; one of the keys in the 'url' file of the configuration; overwrites the configuration value",
|
help = "environment to use; one of the keys in the 'url' node of the configuration; overwrites the configuration value",
|
||||||
)
|
)
|
||||||
argument_parser.add_argument(
|
argument_parser.add_argument(
|
||||||
"-u",
|
"-u",
|
||||||
|
|
@ -651,8 +650,8 @@ def main(
|
||||||
if (account_password is None):
|
if (account_password is None):
|
||||||
raise ValueError("account password required")
|
raise ValueError("account password required")
|
||||||
else:
|
else:
|
||||||
if (args.domain_base is None):
|
if (args.domain is None):
|
||||||
raise ValueError("domain base required")
|
raise ValueError("domain required")
|
||||||
else:
|
else:
|
||||||
result = api_macro_list(
|
result = api_macro_list(
|
||||||
environment,
|
environment,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue