This commit is contained in:
2025-11-07 10:16:29 +02:00
parent f4491dbd60
commit 4632b852d7

View File

@@ -191,7 +191,7 @@
next_attempt: "{{ (requeue_attempt | int) + 1 }}" next_attempt: "{{ (requeue_attempt | int) + 1 }}"
# --- Requeue control: only 3 attempts, 300s apart --- # --- Requeue control: only 3 attempts, 300s apart ---
- name: "NB preflight | Publish delayed requeue (300s) if needed" - name: "NB preflight | Publish delayed requeue (300s (10s)) if needed"
when: when:
- nb_script.stat.exists - nb_script.stat.exists
- (cloud_bad | default(false)) or (nb_ip_changed | default(false)) - (cloud_bad | default(false)) or (nb_ip_changed | default(false))
@@ -210,7 +210,7 @@
body: body:
properties: properties:
content_type: "application/json" content_type: "application/json"
headers: { x-delay: 300000 } headers: { x-delay: 10000 }
routing_key: "deviceconfig" routing_key: "deviceconfig"
payload: "{{ { payload: "{{ {
'inscope_device': (ansible_hostname | default(inventory_hostname)), 'inscope_device': (ansible_hostname | default(inventory_hostname)),