This commit is contained in:
2026-04-22 07:43:32 +03:00
parent ad622ca2ba
commit 7bf75fd369

View File

@@ -99,6 +99,12 @@
changed_when: false changed_when: false
failed_when: false failed_when: false
- name: Debug raw DEV2 LLDP IPv6 command output
when: debugging | bool
delegate_to: localhost
ansible.builtin.debug:
var: dev2_lldp_ip6_raw.stdout_lines
- name: Discover DEV2 candidate IPv6 via LLDP on DEV1 (best-effort) - name: Discover DEV2 candidate IPv6 via LLDP on DEV1 (best-effort)
ansible.builtin.raw: > ansible.builtin.raw: >
{{ pathprefix }} {{ pathprefix }}
@@ -118,6 +124,14 @@
lldp_dev2_ip6: "{{ (dev2_lldp_ip6_raw.stdout | default('')) | trim }}" lldp_dev2_ip6: "{{ (dev2_lldp_ip6_raw.stdout | default('')) | trim }}"
changed_when: false changed_when: false
- name: Debug captured DEV2 LLDP IPv6 fact
when: debugging | bool
delegate_to: localhost
ansible.builtin.debug:
msg:
- "dev2_lldp_ip6_raw={{ dev2_lldp_ip6_raw.stdout | default('') | trim }}"
- "lldp_dev2_ip6={{ lldp_dev2_ip6 | default('') | trim }}"
- name: Classify LLDP IPv4 candidate - name: Classify LLDP IPv4 candidate
delegate_to: localhost delegate_to: localhost
ansible.builtin.set_fact: ansible.builtin.set_fact: