Browse Source

wekan: define wekan_mail_from

keep-around/b6a57885c6e742d9a4f9907626ad176f07a0050a
Loïc Dachary 4 months ago
parent
commit
b6a57885c6
Signed by: dachary GPG Key ID: 992D23B392F9E4F2
  1. 11
      inventory/group_vars/wekan-service-group.yml
  2. 4
      playbooks/wekan/roles/wekan/tasks/wekan.yml

11
inventory/group_vars/wekan-service-group.yml

@ -1,2 +1,13 @@
---
#
####################################################
#
# public URL
#
wekan_vhost_fqdn: "wekan.{{ domain }}"
#
####################################################
#
# From mail address for mails sent by wekan
#
wekan_mail_from: "Wekan <noreply@{{ domain }}>"

4
playbooks/wekan/roles/wekan/tasks/wekan.yml

@ -17,6 +17,6 @@
shell: |
snap set wekan mail-url='smtp://{{groups['wekan-service-group'][0]}}.{{ domain }}:25/?ignoreTLS=true&tls={rejectUnauthorized:false}&secure=false'
- name: snap set wekan mail-from='Wekan <noreply@{{ domain }}>'
- name: snap set wekan mail-from='{{ wekan_mail_from }}'
shell: |
snap set wekan mail-from='Wekan <noreply@{{ domain }}>'
snap set wekan mail-from='{{ wekan_mail_from }}'

Loading…
Cancel
Save