From ad622ca2baa2d20d3f548ef6f087be475c1c732b Mon Sep 17 00:00:00 2001 From: pavel Date: Wed, 22 Apr 2026 07:16:01 +0300 Subject: [PATCH] 0716 --- files/ansible-playbooks/ptsd_reacquire_attempt.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/ansible-playbooks/ptsd_reacquire_attempt.yml b/files/ansible-playbooks/ptsd_reacquire_attempt.yml index e38421c..481c7c6 100644 --- a/files/ansible-playbooks/ptsd_reacquire_attempt.yml +++ b/files/ansible-playbooks/ptsd_reacquire_attempt.yml @@ -90,7 +90,7 @@ {{ pathprefix }} DIGITS="{{ dev2_lldp_digits }}"; cat /var/run/lldp_server.json 2>/dev/null \ - | grep "${DIGITS}" -A 10 \ + | grep -Ei "ikeja${DIGITS}" -A 10 \ | grep address \ | grep -vE 'subtype|ipv6' \ | awk -F'"' '{ print $4 }' \ @@ -104,7 +104,7 @@ {{ pathprefix }} DIGITS="{{ dev2_lldp_digits }}"; cat /var/run/lldp_server.json 2>/dev/null \ - | grep "${DIGITS}" -A 15 \ + | grep -Ei "ikeja${DIGITS}" -A 15 \ | grep 'address_ipv6' \ | awk -F'"' '{ print $4 }' \ | head -n1