diff --git a/ansible/roles/blazar/tasks/bootstrap.yml b/ansible/roles/blazar/tasks/bootstrap.yml index b6fef2aac0..89e32de338 100644 --- a/ansible/roles/blazar/tasks/bootstrap.yml +++ b/ansible/roles/blazar/tasks/bootstrap.yml @@ -46,7 +46,7 @@ changed_when: blazar_host_aggregate | success failed_when: - blazar_host_aggregate.rc != 0 - - "{{ 'already' not in blazar_host_aggregate.stderr }}" + - blazar_host_aggregate.stderr.find('already') == -1 run_once: True delegate_to: "{{ groups['blazar-api'][0] }}"