-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.yml
More file actions
56 lines (45 loc) · 1.96 KB
/
Copy pathmain.yml
File metadata and controls
56 lines (45 loc) · 1.96 KB
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
---
nomad_version: 0.9.3
nomad_zip: nomad_{{ nomad_version }}_linux_amd64.zip
nomad_zip_url: https://releases.hashicorp.com/nomad/{{ nomad_version }}/{{ nomad_zip }}
nomad_download_dir: /tmp
nomad_checksum_file: "nomad_{{ nomad_version }}_SHA256SUMS"
nomad_checksum_url: "https://releases.hashicorp.com/nomad/{{ nomad_version }}/{{ nomad_checksum_file }}"
nomad_verify_checksum_signature: true
nomad_signature_file: "{{ nomad_checksum_file }}.sig"
nomad_signature_url: "https://releases.hashicorp.com/nomad/{{ nomad_version }}/{{ nomad_signature_file }}"
# installation directory (recommended to be version-specific)
nomad_install_dir: /usr/local/nomad/{{ nomad_version }}
# directory to symlink nomad binary
nomad_bin_dir: /usr/local/bin
# directory for nomad config files
nomad_conf_dir: /etc/nomad
# nomad data directory
nomad_data_dir: /var/lib/nomad
nomad_conf_dir_owner: root # owner of nomad config dir
nomad_conf_dir_mode: 0750 # mode of nomad config dir
# init method; can be upstart, systemd, sysvinit, or null to auto-detect
nomad_init_method: ~
# if true will create nomad user/group
nomad_user_managed: true
nomad_user: nomad
nomad_group: nomad
# whether service is enabled/disabled
nomad_service_enabled: true
# whether service is started/stopped
nomad_service_state: "{{ nomad_service_enabled | ternary('started', 'stopped') }}"
# whether to restart service on config file or service changes
nomad_service_restart_on_update: true
# whether to enable nomad server and include server config
nomad_server_enabled: false
# whether to enable nomad client and include client config
nomad_client_enabled: "{{ not nomad_server_enabled }}"
# general config settings (except for server and client stanzas)
nomad_general_config: {}
# nomad server config - only inluded if nomad_server_enabled is true
nomad_server_config: {}
# nomad client config
nomad_client_config: {}
# templates used in this role
nomad_systemd_template: nomad.service.j2
nomad_config_template: config.json.j2