diff options
author | 2020-11-23 13:56:20 +0000 | |
---|---|---|
committer | 2020-11-26 09:49:52 +0000 | |
commit | 37337e09e81af58459d8029b00ca50d0f8d5897a (patch) | |
tree | 170bdebd379af1b1f3cdfc086c073dde8d81951a /resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml | |
parent | 610e96a2afae5c8e58bee00d05c45d57d7bb6021 (diff) |
Ansible: Hashicorp Consul
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I56987d744d9143a95954d85f2557cda07220c681
Diffstat (limited to 'resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml index d7aac45a66..906fa82fbb 100644 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml +++ b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml @@ -38,3 +38,23 @@ nomad_options: 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.32:4647", "10.30.51.33:4647", "10.30.51.30:4647" ] + +# Consul settigs. +consul_nomad_integration: true +consul_certificates: + - src: "{{ vault_nomad_v3_ca_file }}" + dest: "{{ consul_ca_file }}" + - src: "{{ vault_nomad_v3_cert_file }}" + dest: "{{ consul_cert_file }}" + - src: "{{ vault_nomad_v3_key_file }}" + dest: "{{ consul_key_file }}" +consul_datacenter: "yul1" +consul_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" +consul_node_name: "{{ hostname }}" +consul_node_role: "both" +consul_retry_servers: + - "10.30.51.30" + - "10.30.51.32" + - "10.30.51.33" + - "10.30.51.14" + - "10.30.51.15"
\ No newline at end of file |