Issue in 2.5.0rc1 with digital_ocean module: "Server was unable to give you a response"

Hi —

Previously working command isn’t working as of tonight. I’m pretty sure it did previously work after I upgraded to ansible 2.5.0rc1, but I could be wrong about that. The specific and the response are below. I think the “Server was unable to give you a response” message can occur whenever the payload is malformed; I don’t know if it may also occur for other reasons.

So questions: (a) is this a known issue, and (b) if it is caused by changes in digital ocean API, what is the right way to keep up to date on this?

The command is the following (executed on localhost):

  • name: initialize the master ssh key

digital_ocean:

state: present

command: ssh

key name in digitalocean

name: BRIDGE

ssh_pub_key: “{{ lookup(‘file’, ‘~/.ssh/id_rsa.pub’) }}”

api_token: “{{do_token }}”

register: ssh_key

The error I get out is: