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:
2018-03-06 07:13:38,227 p=12171 u=root | fatal: [localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"api_token": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"backups_enabled": false,
"command": "ssh",
"id": null,
"image_id": null,
"ipv6": false,
"name": "BRIDGE",
"private_networking": false,
"region_id": null,
"size_id": null,
"ssh_key_ids": null,
"ssh_pub_key": "ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDWPb5WDFwtGNokgfz5oNQEgrFq7L95C298ZTUmKAqeUdEuyZWKktOSLdT1OGFg0AnZzFV3N0PcfBft66MF09KpY2eL8GX8CWBwlrV0g7eGSS6RJY34vcLt0PfnADLEwvrSh3xP8YI/OWYBe295o8dBM/eETc8S074+9DdFN3zzbqr9a5VFYJMMZIh8hFUopiFnqh3pfMf7CivwQaF+ak4jbEPNl6gn/Op+pLHj9xE/t3kLsCJGo66VmRHiBSMN+FH7GmiZb9KXgkwWAfsS9ozha+RyCZBsmSwVn2GbITgiBHy+y06v65qdiqTXercZYdC2gXosKMkOLyDMg/0MVXkL
root@bridge",
"state": "present",
"unique_name": false,
"user_data": null,
"virtio": true,
"wait": true,
"wait_timeout": 300
}
},
"msg": "Server was unable to give you a response."
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/7cd3f56e-5bb2-44af-b66a-6e4bf29ef8d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.