enable some additional debug info

pull/260/head
Jack Ivanov 7 years ago
parent 2a7dd88a3c
commit b8f3d43eee

@ -14,7 +14,19 @@
until: ssh_keys.changed != true
retries: 10
delay: 1
rescue:
- name: Collect the fail error
digital_ocean:
state: absent
command: ssh
api_token: "{{ do_access_token }}"
name: "{{ SSH_keys.comment }}"
register: ssh_keys
ignore_errors: yes
- debug: var=ssh_keys
- fail:
msg: "Please, ensure that your API token is not read-only."

Loading…
Cancel
Save