X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=fdio.infra.ansible%2Finventories%2Flf_inventory%2Fhost_vars%2F10.32.8.17.yaml;h=866601d760984f14276edfdd29f8f7d209ae9f1d;hp=ca7d8d188d2f65687e89451cb1b3ee0f1bba8fd1;hb=2112f4e1edf3f6c431c73cdd2871a1644c38ece6;hpb=2e021b4853ced07e820a933ca9062d9c325a8a7f diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml index ca7d8d188d..866601d760 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml @@ -21,14 +21,14 @@ sshd_disable_password_login: true 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_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" +nomad_node_role: "both" nomad_node_class: "builder" nomad_options: driver.raw_exec.enable: 1 @@ -37,8 +37,14 @@ nomad_options: docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" fingerprint.network.disallow_link_local: true -nomad_retry_servers: [ "10.30.51.30", "10.30.51.32", "10.30.51.33" ] -nomad_servers: [ "10.30.51.30:4647", "10.30.51.32:4647", "10.30.51.33:4647" ] +nomad_retry_servers: + - "10.32.8.14" + - "10.32.8.15" + - "10.32.8.16" +nomad_servers: + - "10.32.8.14:4647" + - "10.32.8.15:4647" + - "10.32.8.16:4647" nomad_volumes: - name: "prod-volume-data1-1" path: "/data" @@ -49,17 +55,21 @@ consul_nomad_integration: true consul_certificates: - src: "{{ file_consul_ca_pem }}" dest: "{{ consul_ca_file }}" + - src: "{{ file_consul_server_3_pem }}" + dest: "{{ consul_cert_file }}" + - src: "{{ file_consul_server_3_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.30.51.30" - - "10.30.51.32" - - "10.30.51.33" + - "10.32.8.14" + - "10.32.8.15" + - "10.32.8.16" # Docker daemon settings. docker_daemon: dns: [ "172.17.0.1" ] dns-opts: [] - dns-search: [ "{{ansible_hostname}}" ] \ No newline at end of file + dns-search: [ "{{ansible_hostname}}" ]