Infra: Monitoring capability
[csit.git] / resources / tools / testbed-setup / ansible / roles / consul / tasks / main.yaml
index 9d1ca19..f87590e 100644 (file)
   tags:
     - consul-conf
 
+- name: Conf - Telemetry Configuration
+  template:
+    src: telemetry.hcl.j2
+    dest: "{{ consul_config_dir }}/telemetry.hcl"
+    owner: "{{ consul_user }}"
+    group: "{{ consul_group }}"
+    mode: 0644
+  tags:
+    - consul-conf
+
 - name: Conf - Services Configuration
   template:
     src: services.json.j2
     owner: "root"
     group: "root"
     mode: 0644
-  notify:
-    - "Restart Consul"
+#  notify:
+#    - "Restart Consul"
 #    - "Stop Systemd-resolved"
 #    - "Restart Nomad"
   tags: