This commit is contained in:
2026-03-03 09:28:09 +02:00
parent bd73d0e2a1
commit 4ea4fe41a5

View File

@@ -111,7 +111,6 @@
- name: Scheduled success | Set action_next to sot-updater-scheduler - name: Scheduled success | Set action_next to sot-updater-scheduler
when: when:
- hostvars[inventory_hostname].journal_success_payload is defined - hostvars[inventory_hostname].journal_success_payload is defined
- (hostvars[inventory_hostname].is_run_by_effective | default(hostvars[inventory_hostname].is_run_by | default('manual'))) == 'scheduler'
delegate_to: localhost delegate_to: localhost
ansible.builtin.uri: ansible.builtin.uri:
url: "http://{{ rmq_host }}:{{ rmq_port }}/api/exchanges/{{ rmq_vhost | urlencode }}/{{ rmq_exchange | urlencode }}/publish" url: "http://{{ rmq_host }}:{{ rmq_port }}/api/exchanges/{{ rmq_vhost | urlencode }}/{{ rmq_exchange | urlencode }}/publish"
@@ -134,7 +133,6 @@
- name: Scheduled success | Publish sot-updater-scheduler work message - name: Scheduled success | Publish sot-updater-scheduler work message
when: when:
- hostvars[inventory_hostname].journal_success_payload is defined - hostvars[inventory_hostname].journal_success_payload is defined
- (hostvars[inventory_hostname].is_run_by_effective | default(hostvars[inventory_hostname].is_run_by | default('manual'))) == 'scheduler'
delegate_to: localhost delegate_to: localhost
ansible.builtin.uri: ansible.builtin.uri:
url: "http://{{ rmq_host }}:{{ rmq_port }}/api/exchanges/{{ rmq_vhost | urlencode }}/{{ 'deviceconfig' | urlencode }}/publish" url: "http://{{ rmq_host }}:{{ rmq_port }}/api/exchanges/{{ rmq_vhost | urlencode }}/{{ 'deviceconfig' | urlencode }}/publish"