From d3485e4a298bee1fcbae1891713b858e095e288a Mon Sep 17 00:00:00 2001 From: kaliraja <34502260+Kaali09@users.noreply.github.com> Date: Thu, 17 Dec 2020 16:05:13 +0530 Subject: [PATCH] Issue: #0000: updated the redis config --- ansible/roles/vm-agents-processexporter/templates/config.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/vm-agents-processexporter/templates/config.j2 b/ansible/roles/vm-agents-processexporter/templates/config.j2 index 548454989..755266c36 100644 --- a/ansible/roles/vm-agents-processexporter/templates/config.j2 +++ b/ansible/roles/vm-agents-processexporter/templates/config.j2 @@ -118,8 +118,8 @@ process_names: cmdline: - .+middleManager.+ {% endif %} -{% if 'redis-ps' in group_names and hostvars[inventory_hostname]['ansible_default_ipv4']['address'] in groups['redis-ps'] and redis_process_names is defined %} -{% for item in redis_process_names %} +{% if 'redis-ps' in group_names and hostvars[inventory_hostname]['ansible_default_ipv4']['address'] in groups['redis-ps'] and redis_process_ports is defined %} +{% for item in redis_process_ports %} - name: "{{ item }}" comm: - redis-server -- GitLab