This might be cleaner:
```
- name: wait for service to become available
  wait_for: port={{ item.port }} timeout=5
  with_items: "{{ form_services }}"
```

We could also put this right after the service restart handler if it's something we want to run every time.  If tests are optional then I would leave it here.