From ded00daf03c47ad63ac773d5b6796f4d9ecb94f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 20 Oct 2020 15:34:08 +0200 Subject: [PATCH] add 1 second delay before symlinking account JSON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before it would fail due to no found files. Signed-off-by: Jakub SokoĊ‚owski --- tasks/generate.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tasks/generate.yml b/tasks/generate.yml index ca15c56..7cc5d9c 100644 --- a/tasks/generate.yml +++ b/tasks/generate.yml @@ -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