Het @Peter, try something like this:
- name: deploy web
hosts: tag_Name_my_web_server
user: ubuntu
sudo: True
sudo_user: app
gather_facts: True
roles:
- { role: deploy, deploy_type: web }
- name: deploy job
hosts: tag_Name_my_job_server
user: ubuntu
sudo: True
sudo_user: app
gather_facts: True
roles:
- { role: deploy, deploy_type: job }
In the deploy role, use the variable deploy_type to check for the conditions.