We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 476f02e commit d4ea447Copy full SHA for d4ea447
roles/nomad/defaults/main.yml
@@ -53,6 +53,8 @@ nomad__client_reserved_ports:
53
- "22"
54
- "8500-8600"
55
56
+nomad__client_cpu_total_compute: null
57
+
58
# Host volumes
59
nomad__client_host_volume_basepath: "/mnt"
60
nomad__client_host_volumes: []
roles/nomad/templates/client.hcl.j2
@@ -26,6 +26,10 @@ client {
26
reserved_ports = "{{ nomad__client_reserved_ports | join(',') }}"
27
}
28
29
+{% if nomad__client_cpu_total_compute is not none %}
30
+ cpu_total_compute = {{ nomad__client_cpu_total_compute }}
31
+{% endif %}
32
33
{% for host_network in nomad__client_host_networks %}
34
host_network "{{ host_network.name }}" {
35
cidr = "{{ host_network.cidr }}"
0 commit comments