blob: f3b2302317c5b8028ce7480728435cc509fb73d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
---
- name: COPR Erlang update
hosts: all
tasks:
- name: Ensure webhook URLs are defined
no_log: true
ansible.builtin.assert:
that:
- kolla_copr_webhooks.urls is defined
- kolla_copr_webhooks.urls | length > 0
fail_msg: "Missing Zuul secret 'kolla_copr_webhooks.urls' (list of webhook URLs)."
- name: Trigger COPR builds via webhooks
no_log: true
ansible.builtin.uri:
url: "{{ item | trim }}"
method: POST
loop: "{{ kolla_copr_webhooks.urls }}"
|