-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.yml
47 lines (39 loc) · 1.56 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
# defaults file for rocketchat server
rocketchat_packages:
- build-essential
- graphicsmagick
- python3-pymongo
rocketchat_dir: /srv/rocketchat
rocketchat_application_path: '{{ rocketchat_dir }}/bundle'
# "latest" implies latest stable here, can be "3.3.0", for example
rocketchat_version: 7.2.0
# rocketchat_tarball_remote: https://releases.rocket.chat/{{ rocketchat_version }}/download
rocketchat_tarball_remote: https://cdn-download.rocket.chat/build/rocket.chat-{{ rocketchat_version }}.tgz
rocketchat_tarball_fetch_timeout: 100
rocketchat_tarball_validate_certs: true
rocketchat_service_user: rocketchat
rocketchat_service_group: rocketchat
rocketchat_service_environment: []
# MongoDB settings
# mongodb can be disabled for bulleyes update
rocketchat_with_mongodb: true
rocketchat_with_init_mongodb_replica: true
rocketchat_mongodb_server: 127.0.0.1
rocketchat_mongodb_port: 27017
rocketchat_mongodb_database: rocketchat
rocketchat_mongodb_use_tls: false
rocketchat_mongodb_user: ~
rocketchat_mongodb_password: ~
# for update procedure
rocketchat_old_application_path: '{{ rocketchat_dir }}/bundle.old'
rocketchat_internal_host: 127.0.0.1
rocketchat_internal_port: 3333
rocketchat_vhost_server: "{{ ansible_fqdn }}"
rocketchat_vhost_for_zabbix: false
rocketchat_vhost_letsencrypt: false
rocketchat_vhost_ssl_cert: '{{ ssl_certs[0].name }}'
rocketchat_vhost_letsencrypt_cert: '{{ letsencrypt_certs[0] | default(omit) }}'
rocketchat_vhost_letsencrypt_key: '{{ letsencrypt_keys[0] | default(omit) }}'
# if you want to remove rocketchat, set it to yes
rocketchat_remove: false