diff --git a/ansible/site.yml b/ansible/site.yml index 9b705a38ca..f8f1cc3505 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -29,7 +29,7 @@ delegate_to: "{{ item }}" with_items: "{{ groups['all'] }}" when: - - (play_hosts | length) != (groups['all'] | length) + - (ansible_play_batch | length) != (groups['all'] | length) - name: Detect openstack_release variable hosts: all