Build vhost for apache from yaml in python