move delay for befor we call find

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-11-24 14:47:50 +01:00
parent 9591893b87
commit 94d9f1bce1
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 5 additions and 5 deletions

View File

@ -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 }}'