Skip to content

Instantly share code, notes, and snippets.

@routelastresort
Created September 4, 2013 13:51
Show Gist options
  • Save routelastresort/6437206 to your computer and use it in GitHub Desktop.
Save routelastresort/6437206 to your computer and use it in GitHub Desktop.
example ansible playbook for digitalocean
---
- digital_ocean: >
state=present
command=ssh
name={{ digitalocean.sshkeyname }}
ssh_pub_key="{{ digitalocean.sshkey }}"
client_id={{ digitalocean.clientid }}
api_key={{ digitalocean.apikey }}
- digital_ocean: >
state=present
ssh_key_ids={{ digitalocean.sshkeyname }}
name={{ digitalocean.hostname }}
client_id={{ digitalocean.clientid }}
api_key={{ digitalocean.apikey }}
size_id=64
region_id=3
image_id=562354
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment