Ansible: Final consul.d fixes 03/30203/2
authorpmikus <pmikus@cisco.com>
Mon, 30 Nov 2020 15:33:33 +0000 (15:33 +0000)
committerPeter Mikus <pmikus@cisco.com>
Mon, 30 Nov 2020 15:35:34 +0000 (15:35 +0000)
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I2b5f2d090ac752c85508030c4dfe206023f1184f

18 files changed:
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.32.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.33.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.34.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.35.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml
resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml
resources/tools/testbed-setup/ansible/roles/consul/defaults/main.yaml
resources/tools/testbed-setup/ansible/roles/consul/templates/consul.hcl.j2

index be55243..3965a27 100644 (file)
@@ -54,6 +54,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index 18e657f..0d44927 100644 (file)
@@ -53,6 +53,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index d4e81be..77f459f 100644 (file)
@@ -55,6 +55,6 @@ consul_node_role: "both"
 consul_retry_servers:
   - "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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index 4cc25c4..0871ff4 100644 (file)
@@ -54,6 +54,6 @@ consul_node_role: "both"
 consul_retry_servers:
   - "10.30.51.30"
   - "10.30.51.33"
-  - "10.30.51.14"
-  - "10.30.51.15"
-  - "10.30.51.16"
\ No newline at end of file
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index af9d3e7..550e719 100644 (file)
@@ -54,6 +54,6 @@ consul_node_role: "both"
 consul_retry_servers:
   - "10.30.51.30"
   - "10.30.51.32"
-  - "10.30.51.14"
-  - "10.30.51.15"
-  - "10.30.51.16"
\ No newline at end of file
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index accaaa5..5ce4c0a 100644 (file)
@@ -55,6 +55,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index 269c2be..918b2f4 100644 (file)
@@ -55,6 +55,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index 3e5a524..f5e1ad9 100644 (file)
@@ -57,6 +57,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index fe8079b..8ce5750 100644 (file)
@@ -57,6 +57,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index b8ff3db..65a8ae7 100644 (file)
@@ -58,6 +58,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index 15395cc..b3daaca 100644 (file)
@@ -58,6 +58,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index a9953f5..5dcc572 100644 (file)
@@ -62,6 +62,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index 6f2ca4a..66c5db6 100644 (file)
@@ -62,6 +62,6 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index 4c912e6..cdd0212 100644 (file)
@@ -60,10 +60,5 @@ consul_retry_servers:
   - "10.30.51.30"
   - "10.30.51.32"
   - "10.30.51.33"
-  - "10.30.51.15"
-  - "10.30.51.16"
-consul_services:
-  - name: "storage1"
-    port: 9000
-  - name: "nginx1"
-    port: 443
\ No newline at end of file
+  - "10.32.8.15"
+  - "10.32.8.16"
\ No newline at end of file
index 7965019..c35bf87 100644 (file)
@@ -60,10 +60,5 @@ consul_retry_servers:
   - "10.30.51.30"
   - "10.30.51.32"
   - "10.30.51.33"
-  - "10.30.51.14"
-  - "10.30.51.16"
-consul_services:
-  - name: "storage2"
-    port: 9000
-  - name: "nginx2"
-    port: 443
\ No newline at end of file
+  - "10.32.8.14"
+  - "10.32.8.16"
\ No newline at end of file
index 906fa82..c62e850 100644 (file)
@@ -56,5 +56,5 @@ 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
+  - "10.32.8.14"
+  - "10.32.8.15"
\ No newline at end of file
index 4825afa..89121fd 100644 (file)
@@ -68,16 +68,12 @@ consul_certificates:
   - src: "{{ vault_consul_key_file }}"
     dest: "{{ consul_key_file }}"
 
-consul_address: "127.0.0.1:8500"
-consul_auth: ""
 consul_auto_advertise: true
-consul_checks_use_advertise: false
+consul_checks_use_advertise: true
 consul_server_service_name: "nomad"
 consul_client_service_name: "nomad-client"
 consul_server_auto_join: false
-consul_client_auto_join: false
-consul_ssl: true
-consul_verify_ssl: true
+consul_client_auto_join: true
 consul_ACL_token_set: false
 consul_token: "consul_token_default"
 
index 6bd235f..c78e5e1 100644 (file)
@@ -1,18 +1,10 @@
 consul {
-    address = "{{ consul_address }}"
-    auth = "{{ consul_auth }}"
     auto_advertise = {{ consul_auto_advertise | bool | lower }}
-    ca_file = "{{ consul_ca_file }}"
-    cert_file = "{{ consul_cert_file }}"
     checks_use_advertise = {{ consul_checks_use_advertise | bool | lower }}
     client_auto_join = {{ consul_client_auto_join | bool | lower }}
     client_service_name = "{{ consul_client_service_name }}"
-    key_file = "{{ consul_key_file }}"
     server_service_name = "{{ consul_server_service_name }}"
     server_auto_join = {{ consul_server_auto_join | bool | lower }}
-    ssl = {{ consul_ssl | bool | lower }}
-    verify_ssl = {{ consul_verify_ssl | bool | lower }}
-
 {% if consul_ACL_token_set == True %}
     token = "{{ consul_token }}"
 {% endif %}