# system values
nomad_home: /etc/nomad
nomad_config_file: "{{ nomad_home }}/config.json"
nomad_service: nomad
nomad_api_port: 4646
nomad_cluster_port: 4647

tls_client_ca_file: "/etc/nomad/ssl/ca.crt"
tls_cert_file: "/etc/nomad/ssl/public.crt"
tls_key_file: "/etc/nomad/ssl/private.key"
verify: "/etc/nomad/ssl/ca.crt"

cluster:
  enabled: true
auto_unseal_enabled: false
auto_join_enabled: false

enterprise: 
  enabled: false
  license_string: ""

# for nomad at version 1.8 or higher, specify the license path to apply a license
license_path: "{{ nomad_home }}/license.hclic"

nomad_token: ""

init:
  recovery_shares: 5
  recovery_threshold: 3

# nomad init - see https://hvac.readthedocs.io/en/stable/source/hvac_api_system_backend.html#hvac.api.system_backend.Init.initialize for more details
#init:
#  secret_shares: 5
#  secret_threshold: 3
#  pgp_keys: null
#  root_token_pgp_key: null
#  stored_shares: null
#  recovery_shares: null
#  recovery_threshold: null
#  recovery_pgp_keys: null
#
unseal:
  action: unseal
#  key_shares:
  keys_json_path: "/root/.nomad_init_results.txt"

store_nomad_init_data_remotely:
  enabled: false
  remote_store: ""

get_nomad_token_from_remote_store:
  enabled: false
  remote_store: ""
  store_region: ""
  parameter_name: ""

get_nomad_license_from_remote_store:
  enabled: false
  remote_store: ""
  store_region: ""
  parameter_name: ""