This commit is contained in:
2025-10-22 17:22:10 +03:00
parent 235187b5f6
commit 23352841e3

View File

@@ -77,7 +77,7 @@
and ('File exists' not in (add_ip.stdout | default(''))) and ('File exists' not in (add_ip.stdout | default('')))
and ('File exists' not in (add_ip.stderr | default(''))) and ('File exists' not in (add_ip.stderr | default('')))
- name: Debug: result of adding temp IP to DEV1 - name: Debug result of adding temp IP to DEV1
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
- "add_ip.rc={{ add_ip.rc | default('') }}" - "add_ip.rc={{ add_ip.rc | default('') }}"
@@ -116,7 +116,7 @@
and ('File exists' not in (dev2_arp_add.stdout | default(''))) and ('File exists' not in (dev2_arp_add.stdout | default('')))
and ('File exists' not in (dev2_arp_add.stderr | default(''))) and ('File exists' not in (dev2_arp_add.stderr | default('')))
- name: Debug: ARP action summary on DEV1 - name: Debug ARP action summary on DEV1
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
- "dev2_mac={{ dev2_mac | default('UNSET') }}" - "dev2_mac={{ dev2_mac | default('UNSET') }}"
@@ -168,7 +168,7 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
_ctrl_sock: "{{ _ctrl_dir }}/ssh_tunnel_ctl" _ctrl_sock: "{{ _ctrl_dir }}/ssh_tunnel_ctl"
- name: Debug: tunnel parameters (controller side) - name: Debug tunnel parameters (controller side)
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
@@ -210,7 +210,7 @@
register: tun_check register: tun_check
changed_when: false changed_when: false
- name: Debug: ControlMaster status - name: Debug ControlMaster status
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
@@ -227,7 +227,7 @@
changed_when: false changed_when: false
ignore_errors: true ignore_errors: true
- name: Debug: tunnel reachability result - name: Debug tunnel reachability result
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
@@ -247,7 +247,7 @@
register: dev2_ls register: dev2_ls
changed_when: false changed_when: false
- name: Debug: passfiles presence - name: Debug passfiles presence
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
@@ -307,7 +307,7 @@
dev2_passfile_used: "NONE" dev2_passfile_used: "NONE"
changed_when: false changed_when: false
- name: Debug: selected DEV2 passfile - name: Debug selected DEV2 passfile
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
@@ -339,7 +339,7 @@
_dev1_hn: "{{ (dev1_host_read.stdout | default('')) | trim | regex_replace('\\r+$','') | lower }}" _dev1_hn: "{{ (dev1_host_read.stdout | default('')) | trim | regex_replace('\\r+$','') | lower }}"
_dev2_hn: "{{ (dev2_host_read.stdout | default('')) | trim | regex_replace('\\r+$','') | lower }}" _dev2_hn: "{{ (dev2_host_read.stdout | default('')) | trim | regex_replace('\\r+$','') | lower }}"
- name: Debug: normalized hostnames (JSON-escaped) - name: Debug normalized hostnames (JSON-escaped)
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
@@ -464,7 +464,7 @@
changed_when: false changed_when: false
ignore_errors: true ignore_errors: true
- name: Debug: DEV2 firmux banner (if any) - name: Debug DEV2 firmux banner (if any)
when: dev2_firmux is defined when: dev2_firmux is defined
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
@@ -498,7 +498,7 @@
}} }}
_reboot_minutes: "{{ ((_reboot_seconds | int) // 60) if (_reboot_seconds | int) > 0 else 0 }}" _reboot_minutes: "{{ ((_reboot_seconds | int) // 60) if (_reboot_seconds | int) > 0 else 0 }}"
- name: Debug: reboot plan summary - name: Debug reboot plan summary
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
@@ -721,7 +721,7 @@
register: dev2_update_check register: dev2_update_check
changed_when: false changed_when: false
- name: Debug: output from 'update -c' - name: Debug output from 'update -c'
when: dev2_update_check is defined when: dev2_update_check is defined
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
@@ -939,7 +939,7 @@
when: not (_blocked | default(false)) when: not (_blocked | default(false))
delegate_to: localhost delegate_to: localhost
- name: Debug: write result and active banks (quick summary) - name: Debug write result and active banks (quick summary)
when: not (_blocked | default(false)) when: not (_blocked | default(false))
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
@@ -1017,7 +1017,7 @@
}} }}
when: au_delay_sec is defined when: au_delay_sec is defined
- name: Debug: derived expected target_version for checker - name: Debug derived expected target_version for checker
delegate_to: localhost delegate_to: localhost
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
@@ -1040,7 +1040,7 @@
when: au_delay_sec is defined when: au_delay_sec is defined
delegate_to: localhost delegate_to: localhost
- name: Debug: after-upgrade plan (routing + delay + version) - name: Debug after-upgrade plan (routing + delay + version)
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
- "routing_key={{ afterupgrade_routing_key }}" - "routing_key={{ afterupgrade_routing_key }}"
@@ -1132,7 +1132,7 @@
and ('Cannot assign requested address' not in (del_ip.stdout | default(''))) and ('Cannot assign requested address' not in (del_ip.stdout | default('')))
and ('Cannot assign requested address' not in (del_ip.stderr | default(''))) and ('Cannot assign requested address' not in (del_ip.stderr | default('')))
- name: Debug: temp IP removal result - name: Debug temp IP removal result
ansible.builtin.debug: ansible.builtin.debug:
msg: msg:
- "del_ip.rc={{ del_ip.rc | default('') }}" - "del_ip.rc={{ del_ip.rc | default('') }}"