---
# file: host_vars/10.30.51.24.yaml
-hostname: "s43-nomad"
-inventory_cimc_hostname: "10.30.50.24"
+hostname: "s24-nomad"
+inventory_ipmi_hostname: "10.30.50.24"
# User management.
users:
nomad_certificates:
- src: "{{ file_nomad_ca_pem }}"
dest: "{{ nomad_ca_file }}"
- - src: "{{ file_nomad_client_pem }}"
+ - src: "{{ file_nomad_server_pem }}"
dest: "{{ nomad_cert_file }}"
- - src: "{{ file_nomad_client_key_pem }}"
+ - src: "{{ file_nomad_server_key_pem }}"
dest: "{{ nomad_key_file }}"
nomad_datacenter: "yul1"
-nomad_name: "{{ hostname }}-{{ ansible_architecture }}"
-nomad_node_role: "client"
+nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ=="
+nomad_node_name: "{{ hostname }}-{{ ansible_architecture }}"
+nomad_node_role: "both"
nomad_node_class: "builder"
nomad_options:
driver.raw_exec.enable: 1
- docker.cleanup.image: false
+ docker.cleanup.image: true
docker.privileged.enabled: true
docker.volumes.enabled: true
driver.whitelist: "docker,raw_exec,exec"
+ fingerprint.network.disallow_link_local: true
+nomad_service_mgr: "systemd"
nomad_retry_servers:
- - "10.32.8.15"
- - "10.32.8.16"
- - "10.32.8.17"
+ - "10.30.51.23"
+ - "10.30.51.26"
+ - "10.30.51.25"
nomad_servers:
- - "10.32.8.15:4647"
- - "10.32.8.16:4647"
- - "10.32.8.17:4647"
+ - "10.30.51.23:4647"
+ - "10.30.51.26:4647"
+ - "10.30.51.25:4647"
+nomad_volumes:
+ - name: "prod-volume-data1-1"
+ path: "/data"
+ read_only: false
# Consul settigs.
consul_nomad_integration: true
consul_certificates:
- src: "{{ file_consul_ca_pem }}"
dest: "{{ consul_ca_file }}"
+ - src: "{{ file_consul_server_1_pem }}"
+ dest: "{{ consul_cert_file }}"
+ - src: "{{ file_consul_server_1_key_pem }}"
+ dest: "{{ consul_key_file }}"
consul_datacenter: "yul1"
consul_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ=="
consul_node_name: "{{ hostname }}"
-consul_node_role: "client"
+consul_node_role: "both"
consul_retry_servers:
- - "10.32.8.15"
- - "10.32.8.16"
- - "10.32.8.17"
-
+ - "10.30.51.23"
+ - "10.30.51.26"
+ - "10.30.51.25"
+consul_service_mgr: "systemd"
# Docker daemon settings.
docker_daemon: