pyinfra: renamed env variables

This commit is contained in:
missytake 2023-10-08 11:57:17 +02:00
parent 4399da4bf2
commit 15b0a65653

View file

@ -41,8 +41,8 @@ def deploy_teams_bot(unix_user: str, bot_email: str, bot_passwd: str, dbdir: str
if not dbdir:
dbdir = f"/home/{unix_user}/.config/teams_bot/{bot_email}/"
secrets = [
f"addr={bot_email}",
f"mail_pw={bot_passwd}",
f"TEAMS_INIT_EMAIL={bot_email}",
f"TEAMS_INIT_PASSWORD={bot_passwd}",
f'TEAMS_DBDIR={dbdir}',
]
env = "\n".join(secrets)