Infra: Docker DNS on Nomad hosts
[csit.git] / resources / tools / testbed-setup / ansible / inventories / lf_inventory / host_vars / 10.30.51.70.yaml
index a9953f5..ad33f02 100644 (file)
@@ -48,11 +48,11 @@ nomad_cpu_total_compute: "40000"
 # Consul settigs.
 consul_nomad_integration: true
 consul_certificates:
-  - src: "{{ vault_nomad_v1_ca_file }}"
+  - src: "{{ vault_consul_v1_ca_file }}"
     dest: "{{ consul_ca_file }}"
-  - src: "{{ vault_nomad_v1_cert_file }}"
+  - src: "{{ vault_consul_v1_cert_file }}"
     dest: "{{ consul_cert_file }}"
-  - src: "{{ vault_nomad_v1_key_file }}"
+  - src: "{{ vault_consul_v1_key_file }}"
     dest: "{{ consul_key_file }}"
 consul_datacenter: "yul1"
 consul_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ=="
@@ -62,6 +62,11 @@ consul_retry_servers:
   - "10.30.51.30"
   - "10.30.51.32"
   - "10.30.51.33"
-  - "10.30.51.14"
-  - "10.30.51.15"
-  - "10.30.51.16"
\ No newline at end of file
+
+# Docker settings.
+docker_daemon:
+  # https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file
+  dns: [ "172.17.0.1" ]
+  dns-opts: []
+  dns-search: [ "{{ ansible_hostname }}" ]
+  storage-driver: "overlay2"
\ No newline at end of file