10:14
This commit is contained in:
@@ -191,7 +191,7 @@
|
||||
next_attempt: "{{ (requeue_attempt | int) + 1 }}"
|
||||
|
||||
# --- 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:
|
||||
- nb_script.stat.exists
|
||||
- (cloud_bad | default(false)) or (nb_ip_changed | default(false))
|
||||
@@ -210,7 +210,7 @@
|
||||
body:
|
||||
properties:
|
||||
content_type: "application/json"
|
||||
headers: { x-delay: 300000 }
|
||||
headers: { x-delay: 10000 }
|
||||
routing_key: "deviceconfig"
|
||||
payload: "{{ {
|
||||
'inscope_device': (ansible_hostname | default(inventory_hostname)),
|
||||
|
||||
Reference in New Issue
Block a user