Include docker-deploy.yml:
[...]
- name: "Deploying {{ service_name }} "
hosts: "{{ service_name }}"
serial: 1
max_fail_percentage: 50
tasks:
- include: docker-deploy.yml
[...]
Copy the wait_for_service.yml and docker-deploy.yml into the service deploy scripts belonging to each service (or parameterize further to make it general for all of your services).