mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 07:33:52 +02:00
enable some additional debug info
This commit is contained in:
parent
2a7dd88a3c
commit
b8f3d43eee
1 changed files with 12 additions and 0 deletions
|
@ -14,7 +14,19 @@
|
||||||
until: ssh_keys.changed != true
|
until: ssh_keys.changed != true
|
||||||
retries: 10
|
retries: 10
|
||||||
delay: 1
|
delay: 1
|
||||||
|
|
||||||
rescue:
|
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:
|
- fail:
|
||||||
msg: "Please, ensure that your API token is not read-only."
|
msg: "Please, ensure that your API token is not read-only."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue