Compare commits
No commits in common. "aa2057d8d66cc1c69bab349c4798006e5760491e" and "3f94465db409a7c42edddf6bde17eefa38628788" have entirely different histories.
aa2057d8d6
...
3f94465db4
3
main.py
3
main.py
@ -31,9 +31,6 @@ def update_host(host: str) -> bool:
|
|||||||
print(f"something wrong {container_id_run.err}")
|
print(f"something wrong {container_id_run.err}")
|
||||||
return False
|
return False
|
||||||
container_name = container_id_run.out
|
container_name = container_id_run.out
|
||||||
if not container_name:
|
|
||||||
print("Not correct node")
|
|
||||||
return False
|
|
||||||
|
|
||||||
gen_cert = call(f"docker exec -it {container_name} certbot --nginx --email emmtvv@gmail.com --agree-tos -d \"{host}\"")
|
gen_cert = call(f"docker exec -it {container_name} certbot --nginx --email emmtvv@gmail.com --agree-tos -d \"{host}\"")
|
||||||
if gen_cert.code != 0:
|
if gen_cert.code != 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user