Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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