diff --git a/vars/main.yml b/vars/main.yml index e530276a..1a4663c1 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -16,7 +16,7 @@ _glance_is_first_play_host: >- {{ (glance_services['glance-api']['group'] in group_names and - inventory_hostname == (groups[glance_services['glance-api']['group']] | intersect(ansible_play_hosts)) | first) | bool + inventory_hostname == (groups[glance_services['glance-api']['group']] | select('in', ansible_play_hosts)) | first) | bool }} _glance_oslomsg_rpc_vhost_conf: >-