feat(ansible): Nomad update
[csit.git] / fdio.infra.ansible / inventories / lf_inventory / host_vars / 10.30.51.25.yaml
index eedc711..75461dc 100644 (file)
@@ -18,13 +18,14 @@ users:
 sshd_disable_password_login: true
 
 # Nomad settings.
+nomad_version: "1.6.1"
 nomad_certificates:
   - src: "{{ file_nomad_ca_pem }}"
-    dest: "{{ nomad_ca_file }}"
+    dest: "{{ nomad_tls_ca_file }}"
   - src: "{{ file_nomad_server_pem }}"
-    dest: "{{ nomad_cert_file }}"
+    dest: "{{ nomad_tls_cert_file }}"
   - src: "{{ file_nomad_server_key_pem }}"
-    dest: "{{ nomad_key_file }}"
+    dest: "{{ nomad_tls_key_file }}"
 nomad_datacenter: "yul1"
 nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ=="
 nomad_node_name: "{{ hostname }}-{{ ansible_architecture }}"
@@ -38,6 +39,11 @@ nomad_options:
   driver.whitelist: "docker,raw_exec,exec"
   fingerprint.network.disallow_link_local: true
 nomad_service_mgr: "systemd"
+nomad_consul_use_ssl: false
+nomad_use_tls: false
+nomad_tls_http: false
+nomad_tls_rpc: false
+nomad_use_vault: false
 nomad_retry_servers:
   - "10.30.51.23"
   - "10.30.51.24"
@@ -52,7 +58,7 @@ nomad_volumes:
     read_only: false
 
 # Consul settigs.
-consul_nomad_integration: true
+nomad_use_consul: true
 consul_certificates:
   - src: "{{ file_consul_ca_pem }}"
     dest: "{{ consul_ca_file }}"
@@ -62,7 +68,7 @@ consul_certificates:
     dest: "{{ consul_key_file }}"
 consul_datacenter: "yul1"
 consul_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ=="
-consul_node_name: "{{ hostname }}"
+consul_node_name: "{{ ansible_hostname }}"
 consul_node_role: "both"
 consul_retry_servers:
   - "10.30.51.23"
@@ -70,6 +76,9 @@ consul_retry_servers:
   - "10.30.51.26"
 consul_service_mgr: "systemd"
 
+# Vault settings.
+vault_version: "1.13.1"
+
 # Docker daemon settings.
 docker_daemon:
   dns: ["172.17.0.1"]