I've been trying to use Ansible to create and set up a Droplet based on your docker-16-04
image. Creating the droplet using the Ansible digital_ocean
module works as expected, but I can't access the Droplet afterwards, as I get an error from ssh
.
I can't believe that I'm the first or only customer to try to set things up like this. I've been knocking my head against any information source I can find for two weeks now. Perhaps you can advise?
I've attached my Playbooks and command output as listed below. The dynamic-inventory script referenced as digital_ocean.py
is that supplied in the Ansible repo.
- Command Output 1 - Create Droplet.log - output from running the
new_droplet
Playbook (see Item 3); - Command Output 2 - Attempted Provisioning of Droplet.md — output from running the
playbook
Playbook (see Item 4); - new_droplet.yml - Ansible Playbook tasked with creating and tagging a new Droplet
- playbook.yml - Ansible Playbook (excerpt) intended to continue with provisioning the new, tagged Droplet
What am I misunderstanding? I've seen your tuts for setting up Ubuntu, but those don't seem to match the docker-16-04
image in key respects — particularly with regard to setting up sshd
.
Help?