0743
This commit is contained in:
@@ -99,6 +99,12 @@
|
||||
changed_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)
|
||||
ansible.builtin.raw: >
|
||||
{{ pathprefix }}
|
||||
@@ -118,6 +124,14 @@
|
||||
lldp_dev2_ip6: "{{ (dev2_lldp_ip6_raw.stdout | default('')) | trim }}"
|
||||
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
|
||||
delegate_to: localhost
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user