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
|
--password=/keys/account.pass
|
||||||
volumes:
|
volumes:
|
||||||
- '{{ geth_cont_vol }}/keys:/keys:rw'
|
- '{{ geth_cont_vol }}/keys:/keys:rw'
|
||||||
|
|
||||||
|
- name: Geth | Delay finding account file
|
||||||
|
wait_for:
|
||||||
|
timeout: 2
|
||||||
|
|
||||||
- name: Geth | Find newly generate account file
|
- name: Geth | Find newly generate account file
|
||||||
find:
|
find:
|
||||||
paths: '{{ geth_keys_path }}'
|
paths: '{{ geth_keys_path }}'
|
||||||
|
@ -61,10 +65,6 @@
|
||||||
file_type: file
|
file_type: file
|
||||||
register: found_account_files
|
register: found_account_files
|
||||||
|
|
||||||
- name: Geth | Delay symlinking
|
|
||||||
wait_for:
|
|
||||||
timeout: 2
|
|
||||||
|
|
||||||
- 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 }}'
|
||||||
|
|
Loading…
Reference in New Issue