add 1 second delay before symlinking account JSON

Before it would fail due to no found files.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-10-20 15:34:08 +02:00
parent e9af5921c9
commit ded00daf03
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 4 additions and 1 deletions

View File

@ -61,6 +61,10 @@
file_type: file
register: found_account_files
- name: Geth | Delay symlinking
wait_for:
timeout: 1
- name: Geth | Symlink generated account file
file:
src: '{{ found_account_files.files[0].path }}'
@ -72,7 +76,6 @@
- name: Geth | Save account address
slurp:
src: '{{ geth_account_json_file }}'
mode: 0644
when: geth_account_json is not defined
register: geth_account