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:
parent
e9af5921c9
commit
ded00daf03
|
@ -61,6 +61,10 @@
|
||||||
file_type: file
|
file_type: file
|
||||||
register: found_account_files
|
register: found_account_files
|
||||||
|
|
||||||
|
- name: Geth | Delay symlinking
|
||||||
|
wait_for:
|
||||||
|
timeout: 1
|
||||||
|
|
||||||
- name: Geth | Symlink generated account file
|
- name: Geth | Symlink generated account file
|
||||||
file:
|
file:
|
||||||
src: '{{ found_account_files.files[0].path }}'
|
src: '{{ found_account_files.files[0].path }}'
|
||||||
|
@ -72,7 +76,6 @@
|
||||||
- name: Geth | Save account address
|
- name: Geth | Save account address
|
||||||
slurp:
|
slurp:
|
||||||
src: '{{ geth_account_json_file }}'
|
src: '{{ geth_account_json_file }}'
|
||||||
mode: 0644
|
|
||||||
when: geth_account_json is not defined
|
when: geth_account_json is not defined
|
||||||
register: geth_account
|
register: geth_account
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue