-
-
Save mtint/0011e54d491665db2d620226fb2ebf17 to your computer and use it in GitHub Desktop.
example ansible playbook for digitalocean
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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