Skip to content

Instantly share code, notes, and snippets.

@ijonas
Created June 11, 2016 21:06
Show Gist options
  • Save ijonas/71a1cda37c75d6c27384eae6f7b57754 to your computer and use it in GitHub Desktop.
Save ijonas/71a1cda37c75d6c27384eae6f7b57754 to your computer and use it in GitHub Desktop.
TASK [setup] *******************************************************************
ok: [localhost]
TASK [genesis-digitalocean : Get the default SSH key] **************************
changed: [localhost]
TASK [genesis-digitalocean : Add the SSH key to DigitalOcean if it doesn't already exist] ***
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NameError: name 'DoError' is not defined
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n File \"/var/folders/b_/pqyqvn4s0xldl2cm4mfnqkb00000gn/T/ansible_8biPQo/ansible_module_digital_ocean.py\", line 187, in <module>\n class TimeoutError(DoError):\nNameError: name 'DoError' is not defined\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false}
TASK [genesis-digitalocean : fail] *********************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "* The API Access Token might be incorrect or missing the Write Scope. OR * The SSH key may already exist in the DigitalOcean Control Panel under a different name. OR * The dopy Python module might not be installed. Use `pip install dopy==0.3.5` to install this module. On the latest version of OS X, dopy > 0.3.5 is currently broken."}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @playbooks/digitalocean.retry
PLAY RECAP *********************************************************************
localhost : ok=2 changed=1 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment