Skip to content

Commit df7cf09

Browse files
authored
Make downstream runbooks optional (#30)
* add a a conditional for downstream pipelines * new line
1 parent 89477c6 commit df7cf09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/gitlab/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@
5151
loop: "{{ gitlab_downstream_stages.keys() }}"
5252
loop_control:
5353
loop_var: stage
54+
when: gitlab_downstream_stages | length > 0

0 commit comments

Comments
 (0)