openqa: really fix the worker service loop this time (I hope)
Thanks mackerman on Freenode... Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
6566f6ba3f
commit
e9c96f5b4d
2 changed files with 2 additions and 2 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|int }} + 1)|list }}"
|
||||
loop: "{{ range(1, openqa_workers + 1)|list }}"
|
||||
listen:
|
||||
- restart openqa workers
|
||||
|
|
|
@ -154,4 +154,4 @@
|
|||
|
||||
- name: Enable and start worker services
|
||||
service: name=openqa-worker@{{ item }} enabled=yes state=started
|
||||
loop: "{{ range(1, {{ openqa_workers|int }} + 1)|list }}"
|
||||
loop: "{{ range(1, openqa_workers + 1)|list }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue