This commit is contained in:
2026-02-17 19:05:45 +02:00
parent d1bdb48a5e
commit 7c0795e73d

View File

@@ -1456,6 +1456,7 @@
reboot_applied_cf: "{{ (dev2_reboot_sched is defined) and (dev2_reboot_sched.rc is defined) and ((dev2_reboot_sched.rc | int) == 0) }}" reboot_applied_cf: "{{ (dev2_reboot_sched is defined) and (dev2_reboot_sched.rc is defined) and ((dev2_reboot_sched.rc | int) == 0) }}"
changed_when: false changed_when: false
- name: Scheduler mode set action_state waiting when reboot initiated - name: Scheduler mode set action_state waiting when reboot initiated
when: is_run_by_effective == 'scheduler' and (reboot_applied_cf | default(false)) when: is_run_by_effective == 'scheduler' and (reboot_applied_cf | default(false))
delegate_to: localhost delegate_to: localhost
@@ -1479,6 +1480,7 @@
'task_add1': 'action_state', 'task_add1': 'action_state',
'task_result': 'waiting' 'task_result': 'waiting'
} | to_json }}" } | to_json }}"
payload_encoding: "string" # <-- ADD THIS
- name: Scheduler mode publish action_restart_timestamp custom field to control queue - name: Scheduler mode publish action_restart_timestamp custom field to control queue
when: is_run_by_effective == 'scheduler' and (reboot_applied_cf | default(false)) when: is_run_by_effective == 'scheduler' and (reboot_applied_cf | default(false))