diff --git a/ansible/site.yml b/ansible/site.yml index 77d3f2905c..9f63fb079c 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