10:14
This commit is contained in:
@@ -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)),
|
||||||
|
|||||||
Reference in New Issue
Block a user