openqa/worker: try and fix the service restart handler
It's failing and I don't see why, since I based this right on the ansible docs. Maybe a |int will help? Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
51d5016747
commit
c1b38b5ced
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
# Restart handler for worker services
|
||||
- name: Conditionally restart openQA workers
|
||||
command: /usr/local/bin/conditional-restart.sh openqa-worker@{{ item }}
|
||||
loop: "{{ range(1, {{ openqa_workers }} + 1)|list }}"
|
||||
loop: "{{ range(1, {{ openqa_workers|int }} + 1)|list }}"
|
||||
listen:
|
||||
- restart openqa workers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue