--- - os_floating_ip: auth: "{{ auth }}" region_name: "{{ app_env.region_name }}" state: absent floating_ip_address: "{{ database.openstack.public_v4 }}" server: "{{ database.openstack.name }}" when: database.openstack.private_v4 != "" no_log: True - os_floating_ip: auth: "{{ auth }}" region_name: "{{ app_env.region_name }}" state: absent floating_ip_address: "{{ item.openstack.public_v4 }}" server: "{{ item.openstack.name }}" with_items: "{{ webserver.results }}" when: item.openstack.private_v4 != "" no_log: True