Ansible 1.3 Playbook example for Droplet creation

August 26, 2013 5.2k views
I am trying to create an Ansible Playbook yaml file to help build a droplet from scratch. Does anyone have an example Yaml playbook to share with me that creates a new Digital Ocean droplet? The examples in the module seems to be provide examples for Ansible command line usage only. Not that I can get those to work either. https://github.com/ansible/ansible/blob/d4dcf1875178ebb40927a01fd3fd05803471a3fa/library/cloud/digital_ocean
2 Answers
I'm still figuring out the idempotent vars part (this will keep creating new instances)

https://gist.github.com/routelastresort/6437206
Have another answer? Share your knowledge.