X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fnomad%2Fdefaults%2Fmain.yaml;h=864890c11ee23fc381f8d3e34c151720de63964a;hb=85bafb70d413d16972665c0377c3d7b4982b4270;hp=ad8b36ee66c4f6dbab39bb503404e5b87b0063f1;hpb=c180acb883d659136a96fa989c85d9b045eea467;p=csit.git diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml index ad8b36ee66..864890c11e 100644 --- a/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml @@ -10,6 +10,7 @@ packages_base: - "git" - "libcgroup1" - "unzip" + - "htop" packages_by_distro: ubuntu: - [] @@ -28,7 +29,7 @@ nomad_architecture_map: 32-bit: "386" 64-bit: "amd64" nomad_architecture: "{{ nomad_architecture_map[ansible_architecture] }}" -nomad_version: "0.10.2" +nomad_version: "0.12.0" nomad_pkg: "nomad_{{ nomad_version }}_linux_{{ nomad_architecture }}.zip" nomad_zip_url: "https://releases.hashicorp.com/nomad/{{ nomad_version }}/{{ nomad_pkg }}" @@ -64,7 +65,7 @@ nomad_name: "{{ inventory_hostname }}" nomad_region: "global" nomad_syslog_enable: true -# Conf - base.hcl (TLS) +# Conf - tls.hcl nomad_ca_file: "{{ nomad_ssl_dir }}/ca.pem" nomad_cert_file: "{{ nomad_ssl_dir }}/nomad.pem" nomad_http: false @@ -83,21 +84,22 @@ nomad_node_class: "" nomad_no_host_uuid: true nomad_options: {} nomad_servers: [] +nomad_volumes: [] + +# Conf - server.hcl +nomad_bootstrap_expect: 2 +nomad_encrypt: "" +nomad_retry_join: true + +# Conf - telemetry.hcl +nomad_disable_hostname: false +nomad_collection_interval: 60s +nomad_use_node_name: false +nomad_publish_allocation_metrics: true +nomad_publish_node_metrics: true +nomad_backwards_compatible_metrics: false +nomad_telemetry_provider_parameters: + prometheus_metrics: true # Conf - custom.hcl # empty - -# Conf - server.hcl -#nomad_retry_max: 0 -#nomad_retry_join: false -#nomad_retry_interval: "30s" -#nomad_rejoin_after_leave: false -#nomad_enabled_schedulers: -# - service -# - batch -# - system -#nomad_num_schedulers: "{{ ansible_processor_vcpus }}" -#nomad_node_gc_threshold: "24h" -#nomad_job_gc_threshold: "4h" -#nomad_eval_gc_threshold: "1h" -#nomad_encrypt: ""