yaml is not needed in views.py
Deployment endpoint changed and now requires a playbook id to be passed.