move delay for befor we call find
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
9591893b87
commit
94d9f1bce1
|
@ -53,7 +53,11 @@
|
|||
--password=/keys/account.pass
|
||||
volumes:
|
||||
- '{{ geth_cont_vol }}/keys:/keys:rw'
|
||||
|
||||
|
||||
- name: Geth | Delay finding account file
|
||||
wait_for:
|
||||
timeout: 2
|
||||
|
||||
- name: Geth | Find newly generate account file
|
||||
find:
|
||||
paths: '{{ geth_keys_path }}'
|
||||
|
@ -61,10 +65,6 @@
|
|||
file_type: file
|
||||
register: found_account_files
|
||||
|
||||
- name: Geth | Delay symlinking
|
||||
wait_for:
|
||||
timeout: 2
|
||||
|
||||
- name: Geth | Symlink generated account file
|
||||
file:
|
||||
src: '{{ found_account_files.files[0].path }}'
|
||||
|
|
Loading…
Reference in New Issue