Skip to content

Instantly share code, notes, and snippets.

@peck
Created July 9, 2015 22:40
Show Gist options
  • Save peck/570931f13e50672115e4 to your computer and use it in GitHub Desktop.
Save peck/570931f13e50672115e4 to your computer and use it in GitHub Desktop.
What I have:
irb(main):009:0> puts YAML.dump({roles: ["apiserver"]}, indent: 2)
---
roles:
- apiserver
What I need:
---
roles:
- apiserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment