This commit is contained in:
2026-02-12 16:05:58 +02:00
parent 3ce31fb571
commit 77781011c1

View File

@@ -278,7 +278,7 @@
properties: properties:
content_type: "application/json" content_type: "application/json"
routing_key: "{{ control_queue }}" routing_key: "{{ control_queue }}"
payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_state', 'task_result': 'done' }} | to_json }}" payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_state', 'task_result': 'done' } | to_json }}"
payload_encoding: "string" payload_encoding: "string"
changed_when: false changed_when: false
@@ -306,7 +306,7 @@
properties: properties:
content_type: "application/json" content_type: "application/json"
routing_key: "{{ control_queue }}" routing_key: "{{ control_queue }}"
payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_restart_timestamp', 'task_result': '' }} | to_json }}" payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_restart_timestamp', 'task_result': '' } | to_json }}"
payload_encoding: "string" payload_encoding: "string"
changed_when: false changed_when: false
@@ -334,7 +334,7 @@
properties: properties:
content_type: "application/json" content_type: "application/json"
routing_key: "{{ control_queue }}" routing_key: "{{ control_queue }}"
payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_next', 'task_result': '' }} | to_json }}" payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_next', 'task_result': '' } | to_json }}"
payload_encoding: "string" payload_encoding: "string"
changed_when: false changed_when: false
@@ -362,7 +362,7 @@
properties: properties:
content_type: "application/json" content_type: "application/json"
routing_key: "{{ control_queue }}" routing_key: "{{ control_queue }}"
payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_next_timestamp', 'task_result': '' }} | to_json }}" payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_next_timestamp', 'task_result': '' } | to_json }}"
payload_encoding: "string" payload_encoding: "string"
changed_when: false changed_when: false
@@ -425,7 +425,7 @@
properties: properties:
content_type: "application/json" content_type: "application/json"
routing_key: "{{ control_queue }}" routing_key: "{{ control_queue }}"
payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_state', 'task_result': 'failed' }} | to_json }}" payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_state', 'task_result': 'failed' } | to_json }}"
payload_encoding: "string" payload_encoding: "string"
changed_when: false changed_when: false
@@ -539,7 +539,7 @@
properties: properties:
content_type: "application/json" content_type: "application/json"
routing_key: "{{ control_queue }}" routing_key: "{{ control_queue }}"
payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_state', 'task_result': 'failed' }} | to_json }}" payload: "{{ { 'inscope_device': (ansible_hostname | default(inventory_hostname)), 'task_name': 'custom_field_set', 'task_add1': 'action_state', 'task_result': 'failed' } | to_json }}"
payload_encoding: "string" payload_encoding: "string"
changed_when: false changed_when: false