22# File: main.yml - Main default variables for nomad
33
44# # Core
5- nomad_debug : no
5+ nomad_debug : false
66
77# ## Package
8- nomad_version : " {{ lookup('env','NOMAD_VERSION') | default('0.8.4 ', true) }}"
8+ nomad_version : " {{ lookup('env','NOMAD_VERSION') | default('0.8.6 ', true) }}"
99nomad_architecture_map :
1010 amd64 : amd64
1111 x86_64 : amd64
@@ -27,28 +27,28 @@ nomad_log_dir: "/var/log/nomad"
2727nomad_run_dir : " /var/run/nomad"
2828
2929# ## System user and group
30- nomad_manage_user : yes
30+ nomad_manage_user : true
3131nomad_user : " root"
32- nomad_manage_group : no
32+ nomad_manage_group : false
3333nomad_group : " bin"
3434
3535# ## Nomad settings
3636nomad_datacenter : " dc1"
3737nomad_region : " global"
3838nomad_log_level : " INFO"
39- nomad_syslog_enable : yes
39+ nomad_syslog_enable : true
4040nomad_iface : " {{ lookup('env','NOMAD_IFACE') | default(ansible_default_ipv4.interface, true) }}"
4141nomad_node_name : " {{ inventory_hostname_short }}"
4242nomad_node_role : " {{ lookup('env','NOMAD_NODE_ROLE') | default('client', true) }}"
43- nomad_leave_on_terminate : yes
44- nomad_leave_on_interrupt : no
45- nomad_disable_update_check : no
43+ nomad_leave_on_terminate : true
44+ nomad_leave_on_interrupt : false
45+ nomad_disable_update_check : false
4646
4747# ### Server settings
4848nomad_retry_max : 0
49- nomad_retry_join : no
49+ nomad_retry_join : false
5050nomad_retry_interval : " 30s"
51- nomad_rejoin_after_leave : no
51+ nomad_rejoin_after_leave : false
5252nomad_enabled_schedulers :
5353 - service
5454 - batch
@@ -61,7 +61,7 @@ nomad_encrypt: ""
6161
6262# ### Client settings
6363nomad_node_class : " "
64- nomad_no_host_uuid : no
64+ nomad_no_host_uuid : false
6565nomad_max_kill_timeout : " 30s"
6666nomad_network_speed : 0
6767nomad_cpu_total_compute : 0
@@ -91,7 +91,7 @@ nomad_ports:
9191# ## Servers
9292nomad_group_name : " nomad_instances"
9393nomad_servers : " \
94- {% if nomad_use_consul==False %}\
94+ {% if nomad_use_consul==false %}\
9595 {% set _nomad_servers = [] %}\
9696 {% for host in groups[nomad_group_name] %}\
9797 {% set _nomad_node_role = hostvars[host]['nomad_node_role'] | default('client', true) %}\
@@ -103,10 +103,10 @@ nomad_servers: "\
103103 {% else %}\
104104 []\
105105 {% endif %}"
106- nomad_gather_server_facts : no
106+ nomad_gather_server_facts : false
107107
108108# ## Consul
109- nomad_use_consul : False
109+ nomad_use_consul : false
110110nomad_consul_address : " localhost:8500"
111111nomad_consul_servers_service_name : " nomad-servers"
112112nomad_consul_clients_service_name : " nomad-clients"
@@ -121,20 +121,20 @@ nomad_acl_replication_token: ""
121121# ## Vault
122122nomad_vault_enabled : " {{ lookup('env', 'NOMAD_VAULT_ENABLED') | default('no', true) }}"
123123nomad_vault_address : " {{ vault_address | default('0.0.0.0', true) }}"
124- nomad_vault_allow_unauthenticated : yes
124+ nomad_vault_allow_unauthenticated : true
125125nomad_vault_create_from_role : " "
126126nomad_vault_task_token_ttl : " "
127127nomad_vault_ca_file : " "
128128nomad_vault_ca_path : " "
129129nomad_vault_cert_file : " "
130130nomad_vault_key_file : " "
131131nomad_vault_tls_server_name : " "
132- nomad_vault_tls_skip_verify : no
132+ nomad_vault_tls_skip_verify : false
133133nomad_vault_token : " "
134134
135135# ## Docker
136136nomad_docker_enable : " {{ lookup('env','NOMAD_DOCKER_ENABLE') | default('false', true) }}"
137- nomad_docker_dmsetup : yes
137+ nomad_docker_dmsetup : true
138138
139139# ## Tls
140140nomad_ca_file : " "
0 commit comments