|
|
@ -4,11 +4,7 @@ import os
|
|
|
|
import time
|
|
|
|
import time
|
|
|
|
import subprocess
|
|
|
|
import subprocess
|
|
|
|
|
|
|
|
|
|
|
|
hostnames = list(set(os.environ['HOSTNAMES'].split(',')))
|
|
|
|
hostnames = ','.join(set(os.environ['HOSTNAMES'].split(',')))
|
|
|
|
for hostname in hostnames:
|
|
|
|
|
|
|
|
if not hostname.startswith('autoconfig.'):
|
|
|
|
|
|
|
|
hostnames.append(f'autoconfig.{hostname}')
|
|
|
|
|
|
|
|
hostnames = ','.join(set(hostnames))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
command = [
|
|
|
|
command = [
|
|
|
|
"certbot",
|
|
|
|
"certbot",
|
|
|
|