run pyinfra command with environment variables, without inventory.py

This commit is contained in:
missytake
2023-10-12 17:00:20 +02:00
parent 65494b207d
commit 4b0a9448d6
4 changed files with 32 additions and 10 deletions

View File

@@ -12,3 +12,9 @@ Dovecot listens on ports 143(imap) and 993 (imaps).
## DNS
For DKIM you must add a DNS entry as in /etc/opendkim/selector.txt (where selector is the opendkim_selector configured in the chatmail inventory).
## Run with pyinfra
```
CHATMAIL_DOMAIN=c1.testrun.org pyinfra c1.testrun.org deploy.py
```