Question

Ansible 1.3 Playbook example for Droplet creation

Posted August 26, 2013 7.5k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers
I'm still figuring out the idempotent vars part (this will keep creating new instances)

https://gist.github.com/routelastresort/6437206
Submit an Answer