template_yaml function

Print YAML template to console