I get this on DO
TASK: [genesis-digitalocean | Add the SSH key to DigitalOcean if it doesn't already exist] *
failed: [127.0.0.1] => {"failed": true}
msg: Access Denied
I cant figure out if the client id is supposed to be the token name when you create that in the control panel? I cant get it to work either way.
TASK: [genesis-digitalocean | Get the latest 'Debian 7.0 x64' image ID from the DigitalOcean API] ***
fatal: [127.0.0.1] => a duplicate parameter was found in the argument string ()
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/digitalocean.retry
127.0.0.1 : ok=4 changed=3 unreachable=1 failed=0
I just pushed a fix for this. If you pull, you should be good to go. The bug was introduced in the new version of Ansible that came out two days ago. I didn't catch it because I hadn't updated quite yet. Sorry about that!
Edit: I'm still working through a few other Ansible 1.6.8 issues as well.
Ansible 1.6.9 should already handle any quote issues you may have (other than duplicate arg detection, which is intentionally there). Parsers! How do they work? :)
That's a great idea. Ansible doesn't natively support those providers through an official API yet, but I don't think it would be difficult to do. I will look into it!
For now, Streisand can execute on any standard Debian 7 server and configure it appropriately. It only needs an open SSH port and an account on the system with root permissions. AWS, DigitalOcean, Linode, and Rackspace are the options it supports for creating a brand new server from scratch as well.
Comments
I am happy to answer questions about this, if anyone has any. Or if anyone finds any bugs or has other feedback, that would also be great.
I get this on DO TASK: [genesis-digitalocean | Add the SSH key to DigitalOcean if it doesn't already exist] * failed: [127.0.0.1] => {"failed": true} msg: Access Denied
I cant figure out if the client id is supposed to be the token name when you create that in the control panel? I cant get it to work either way.
I had to:
in a fresh ubuntu to get it going for DOI will add this to the README. Thanks!
am now getting this, still on DO:
I just pushed a fix for this. If you pull, you should be good to go. The bug was introduced in the new version of Ansible that came out two days ago. I didn't catch it because I hadn't updated quite yet. Sorry about that!
Edit: I'm still working through a few other Ansible 1.6.8 issues as well.
Edit 2: I think that I got them all.
Ansible 1.6.9 should already handle any quote issues you may have (other than duplicate arg detection, which is intentionally there). Parsers! How do they work? :)
Ha. And many thanks to Tim G who's had a hectic couple of support days.
A configuration for cheap VPS providers who provide a limited range of ports on one IPv4 address (plus one or more IPv6 addresses) would be great.
See:
http://lowendspirit.com/
https://definedcodehosting.com/
That's a great idea. Ansible doesn't natively support those providers through an official API yet, but I don't think it would be difficult to do. I will look into it!
For now, Streisand can execute on any standard Debian 7 server and configure it appropriately. It only needs an open SSH port and an account on the system with root permissions. AWS, DigitalOcean, Linode, and Rackspace are the options it supports for creating a brand new server from scratch as well.