Browse Source

chat: replace chat_vhost_fqdn with chat.domain

keep-around/4a3c550f54520f85e638b393d0d979459764ed08
Loïc Dachary 11 months ago
committed by Loic Dachary
parent
commit
e838565ff7
Signed by: dachary GPG Key ID: 992D23B392F9E4F2
  1. 2
      inventory/host_vars/chat-host/chat.yml
  2. 6
      playbooks/chat/chat-playbook.yml
  3. 2
      playbooks/chat/roles/mattermost/tasks/mattermost.yml

2
inventory/host_vars/chat-host/chat.yml

@ -1,2 +0,0 @@
---
chat_vhost_fqdn: chat.{{ domain }}

6
playbooks/chat/chat-playbook.yml

@ -17,16 +17,16 @@
- role: enough-nginx
vars:
enough_nginx_reverse_proxy: mattermost_app_1:8000
enough_nginx_fqdn: "{{ chat_vhost_fqdn }}"
enough_nginx_fqdn: "chat.{{ domain }}"
- role: certificate
vars:
certificate_fqdn: "{{ chat_vhost_fqdn }}"
certificate_fqdn: "chat.{{ domain }}"
certificate_installer: nginx
- role: monitor_http_vhost
http_vhost_https: true
http_vhost_name: Chat
http_vhost_fqdn: "{{ chat_vhost_fqdn }}"
http_vhost_fqdn: "chat.{{ domain }}"
http_vhost_uri: "/"
http_vhost_string: "Mattermost"

2
playbooks/chat/roles/mattermost/tasks/mattermost.yml

@ -84,7 +84,7 @@
jq '.EmailSettings.SendEmailNotifications |= true' | \
jq '.EmailSettings.FeedbackName |= "Mattermost"' | \
jq '.EmailSettings.FeedbackEmail |= "noreply@{{ domain }}"' | \
jq '.ServiceSettings.SiteURL |= "https://{{ chat_vhost_fqdn }}"' | \
jq '.ServiceSettings.SiteURL |= "https://chat.{{ domain }}"' | \
jq '.TeamSettings.EnableOpenServer |= true' | \
jq '.LogSettings.EnableDiagnostics |= false' > /tmp/new.json
mv /tmp/new.json config.json

Loading…
Cancel
Save