clarify variable purpose by renaming to sendmail_hostname

This commit is contained in:
Nils Norman Haukås 2024-01-30 12:08:09 +01:00
parent 57e2569679
commit 7fd4b383cf
3 changed files with 3 additions and 3 deletions

View File

@ -1,11 +1,11 @@
---
- hosts: vagrant
vars:
hostname: vagrant
sendmail_mta_user: "{{ vault_mta_user }}"
sendmail_mta_user_pw: "{{ vault_mta_user_pw }}"
sendmail_mailhub: "box.nilsnh.no:465"
sendmail_rewrite_domain: "nilsnh.no"
sendmail_hostname: vagrant
sendmail_revaliases:
root: "{{ machine_from_email }}"
jake: "{{ machine_from_email }}"

View File

@ -2,12 +2,12 @@
- hosts: jake
handlers:
vars:
hostname: jake.box.nilsnh.no
restic_repo_pw: "{{ vault_restic_pw_jake }}"
restic_repo_url: "{{ vault_restic_url_jake }}"
sendmail_mta_user: "{{ vault_mta_user }}"
sendmail_mta_user_pw: "{{ vault_mta_user_pw }}"
sendmail_mailhub: "box.nilsnh.no:465"
sendmail_hostname: jake.box.nilsnh.no
sendmail_rewrite_domain: "nilsnh.no"
sendmail_revaliases:
root: "{{ machine_from_email }}"

View File

@ -17,7 +17,7 @@ AuthPass={{ sendmail_mta_user_pw }}
rewriteDomain={{ sendmail_rewrite_domain }}
# The full hostname
hostname={{ hostname }}
hostname={{ sendmail_hostname }}
UseTLS=YES