YAML automation

Please format your code blocks properly as directed in Questions Guideline #11, so we can tell if the syntax is correct.