pyinfra-deploy #7

Merged
missytake merged 10 commits from pyinfra-deploy into main 2023-10-09 06:10:40 +00:00
Showing only changes of commit 4fcc99a891 - Show all commits

View file

@ -32,7 +32,7 @@ with an email address
you want to use as a team: you want to use as a team:
``` ```
teams-bot init --email das_synthikat@systemli.org --password p455w0rD teams-bot init --email helpdesk@example.org --password p455w0rD
``` ```
This command will show a QR code; This command will show a QR code;
@ -44,7 +44,7 @@ Now to run it,
simply execute: simply execute:
``` ```
teams-bot init --email das_synthikat@systemli.org --password p455w0rD teams-bot init --email helpdesk@example.org --password p455w0rD
``` ```
The bot only works as long as this command is running. The bot only works as long as this command is running.
@ -62,9 +62,9 @@ Just import it into your [deploy.py file](https://docs.pyinfra.com/en/2.x/gettin
from teams_bot.pyinfra import deploy_teams_bot from teams_bot.pyinfra import deploy_teams_bot
deploy_teams_bot( deploy_teams_bot(
unix_user='root', # an existing UNIX user (doesn't need root or sudo privileges) unix_user='root', # an existing UNIX user (doesn't need root or sudo privileges)
bot_email='team@example.org', # the email address your team wants to use bot_email='helpdesk@example.org', # the email address your team wants to use
bot_passwd='p4ssw0rd', # the password to the email account bot_passwd='p4ssw0rd', # the password to the email account
) )
``` ```