Skip to content

Commit df2a10a

Browse files
committed
more condition updates
1 parent d067c54 commit df2a10a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

playbooks/tasks/deploy_plugin.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
when:
136136
- plugin.registries is defined
137137
- plugin.mirror | default('none') in ['core', 'plugin']
138+
- plugin.operators | default([]) | length > 0
138139
- disconnected | default(true) | bool
139140
tags: mirror
140141

@@ -149,7 +150,7 @@
149150
loop_control:
150151
loop_var: operator
151152
when:
152-
- plugin.operators is defined
153+
- plugin.operators | default([]) | length > 0
153154
- plugin.installOperators | default(true)
154155
tags: operators
155156

0 commit comments

Comments
 (0)