forked from RocketChat/Rocket.Chat.Ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Ubuntu.yml
36 lines (31 loc) · 948 Bytes
/
Ubuntu.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
---
rocket_chat_dep_packages:
- git
- graphicsmagick
- nodejs
- npm
- make
- wget
- cron
- gnupg2
rocket_chat_mongodb_org_pkgs: true
rocket_chat_mongodb_apt_repo: "\
deb http://repo.mongodb.org/apt/{{ ansible_distribution | lower }} \
{{ ansible_distribution_release | lower }}/mongodb-org/\
{{ rocket_chat_mongodb_org_version }} multiverse"
rocket_chat_mongodb_packages:
- mongodb
- mongodb-server
rocket_chat_mongodb_config: /etc/mongodb.conf
rocket_chat_mongodb_repl_setname: 001-rs
rocket_chat_mongodb_repl_lines: >-
replication:
replSetName: "{{ rocket_chat_mongodb_repl_setname }}"
rocket_chat_nginx_process_user: www-data
rocket_chat_service_update_command: systemctl daemon-reload
rocket_chat_service_template:
src: rocketchat.service.j2
dest: /etc/systemd/system/rocketchat.service
rocket_chat_service_template_at:
src: [email protected]
dest: /etc/systemd/system/[email protected]