aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/nomad/defaults/main.yaml
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-07-07 10:31:16 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2022-07-07 13:11:37 +0000
commit2720dc186a1e488833533bfa8e14bfaa578aabca (patch)
tree18f2f75ab8409c20ac500c657fad64168cff5914 /fdio.infra.ansible/roles/nomad/defaults/main.yaml
parent9f603617b10a447c59cd17110a89f67a1bf42d6e (diff)
feat(ansible): Migrate Ubuntu Jammy II
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I43c86ab3232a382e7cc9010fb04a0ca269b24e77
Diffstat (limited to 'fdio.infra.ansible/roles/nomad/defaults/main.yaml')
-rw-r--r--fdio.infra.ansible/roles/nomad/defaults/main.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/fdio.infra.ansible/roles/nomad/defaults/main.yaml b/fdio.infra.ansible/roles/nomad/defaults/main.yaml
index f58ac0961d..b4741f8d43 100644
--- a/fdio.infra.ansible/roles/nomad/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/nomad/defaults/main.yaml
@@ -16,7 +16,7 @@ packages_by_arch:
- []
# Package
-nomad_version: "{{ lookup('env','NOMAD_VERSION') | default('1.0.4', true) }}"
+nomad_version: "{{ lookup('env','NOMAD_VERSION') | default('1.3.1', true) }}"
nomad_architecture_map:
amd64: "amd64"
x86_64: "amd64"
@@ -63,7 +63,7 @@ nomad_log_level: "INFO"
nomad_syslog_enable: true
nomad_iface: "{{ lookup('env','NOMAD_IFACE') | default(ansible_default_ipv4.interface, true) }}"
nomad_node_name: "{{ inventory_hostname }}"
-nomad_node_role: "{{ lookup('env','NOMAD_NODE_ROLE') | default('client', true) }}"
+nomad_node_role: "{{ lookup('env','NOMAD_NODE_ROLE') | default('server', true) }}"
nomad_leave_on_terminate: true
nomad_leave_on_interrupt: false
nomad_disable_update_check: true
@@ -172,9 +172,11 @@ nomad_docker_dmsetup: true
# TLS
nomad_tls_enable: true
-nomad_ca_file: "{{ nomad_ssl_dir }}/ca.pem"
+nomad_ca_file: "{{ nomad_ssl_dir }}/nomad-ca.pem"
nomad_cert_file: "{{ nomad_ssl_dir }}/nomad.pem"
nomad_key_file: "{{ nomad_ssl_dir }}/nomad-key.pem"
+nomad_cli_cert_file: "{{ nomad_ssl_dir }}/nomad-cli.pem"
+nomad_cli_key_file: "{{ nomad_ssl_dir }}/nomad-cli-key.pem"
nomad_http: false
nomad_rpc: false
nomad_rpc_upgrade_mode: false