-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.yml
107 lines (71 loc) · 2.59 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# See the [documentation] for help in configuring RethinkDB.
# [documentation]: http://rethinkdb.com/docs/v0.8/advanced_topics/configuration_options.html
# Meta
# ----
rethinkdb_service_name: rethinkdb
# The name for this server (as will appear in the metadata).
# If not specified, it will be randomly chosen from a short list of names.
rethinkdb_instance_name: default
# Process options
# ---------------
conf_dir: /etc
run_dir: /var/run
lib_dir: /var/lib
log_dir: /var/log
# User and group used to run rethinkdb
rethinkdb_user: rethinkdb
rethinkdb_group: rethinkdb
rethinkdb_conf_dir: "{{conf_dir}}/rethinkdb"
rethinkdb_instances_dir: "{{rethinkdb_conf_dir}}/instances.d"
# Stash the pid in this file when the process is running
rethinkdb_run_dir: "{{run_dir}}/rethinkdb/{{rethinkdb_instance_name}}"
rethinkdb_pid_file: "{{rethinkdb_run_dir}}/pid_file"
# Directory to store data and metadata
rethinkdb_lib_dir: "{{lib_dir}}/rethinkdb"
rethinkdb_data_dir: "{{rethinkdb_lib_dir}}/{{rethinkdb_instance_name}}"
# Log file options
rethinkdb_log_dir: "{{log_dir}}/rethinkdb"
rethinkdb_log_file: "{{rethinkdb_log_dir}}/{{rethinkdb_instance_name}}.log"
# Network options
# ---------------
# Address of local interfaces to listen on when accepting connections
# May be 'all' or an IP address, loopback addresses are enabled by default
rethinkdb_bind: 127.0.0.1
# Address that other rethinkdb instances will use to connect to this server.
# It can be specified multiple times
rethinkdb_canonical_addresses: []
# The port for rethinkdb protocol for client drivers
# Port offset will be added to this.
rethinkdb_driver_port: 28015
# The port for receiving connections from other nodes
rethinkdb_cluster_port: 29015
# The host:port of a node that rethinkdb will connect to
# This option can be specified multiple times.
rethinkdb_joins: []
# All ports used locally will have this value added
rethinkdb_port_offset: 0
# r.http(...) queries will use the given server as a web proxy
# Eg. socks5://example.com:1080
rethinkdb_reql_http_proxy:
# Web options
# -----------
# Port for the http admin console
# Default: 8080 + port_offset
rethinkdb_http_port: 8080
# Disable web administration console
rethinkdb_disable_http_admin: no
# CPU options
# -----------
# The number of cores to use
# Default: total number of cores of the CPU
rethinkdb_cpu_cores: 2
# Memory options
# --------------
# Size of the cache in MB
rethinkdb_cache_size: "{{ (ansible_memtotal_mb / 3)|int }}"
# Disk
# ----
# How many simultaneous I/O operations can happen at the same time
rethinkdb_io_threads: 64
# Enable direct I/O
rethinkdb_direct_io_enabled: yes