remove install certbot form apt
This commit is contained in:
@@ -512,14 +512,6 @@ server {
|
||||
"""
|
||||
write_file(Path("/etc/angie/metrics.conf"), metrics, 0o644)
|
||||
|
||||
def install_certbot_with_dns_plugins():
|
||||
with step("Installing certbot + DNS plugins"):
|
||||
base = ["certbot"]
|
||||
_raw = run_out(["apt-cache","search","^python3-certbot-dns-"], check=False) or ""
|
||||
out = "\n".join(l.split()[0] for l in _raw.splitlines() if l.strip())
|
||||
dns_pkgs = [p for p in out.splitlines() if p.strip()]
|
||||
apt_install(base + dns_pkgs)
|
||||
|
||||
def ensure_angie_runtime_perms():
|
||||
run_path = Path("/run/angie")
|
||||
pid_file = run_path / "angie.pid"
|
||||
@@ -1180,7 +1172,6 @@ def main():
|
||||
|
||||
setup_angie(ipv6_enabled=args.enable_ipv6)
|
||||
write_metrics_files()
|
||||
install_certbot_with_dns_plugins()
|
||||
install_node_and_yarn(args.nodejs_pkg)
|
||||
ensure_user_and_dirs()
|
||||
create_sudoers_for_npm()
|
||||
|
||||
Reference in New Issue
Block a user