From 235f5fcc1b0a073bc19d44030f88bf221aac39f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 4 Oct 2021 20:38:38 +0200 Subject: [PATCH] change log folder to be logs, move build logs there MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- defaults/main.yml | 1 + tasks/build.yml | 2 +- tasks/install.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 14765b5..d06e90b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -4,6 +4,7 @@ beacon_node_service_user_name: 'nimbus' beacon_node_service_user_pass: '{{ ansible_date_time.epoch | password_hash("sha512") }}' beacon_node_service_home: 'C:\Users\{{ beacon_node_service_user_name }}' beacon_node_service_path: '{{ beacon_node_service_home }}\{{ beacon_node_service_name }}' +beacon_node_service_logs_path: '{{ beacon_node_service_path }}\logs' beacon_node_service_bin_path: '{{ beacon_node_service_path }}\bin' beacon_node_service_exe: '{{ beacon_node_service_bin_path }}\nimbus_beacon_node.exe' beacon_node_rpc_script_path: '{{ beacon_node_service_path }}\rpc.sh' diff --git a/tasks/build.yml b/tasks/build.yml index 9fe874c..5c047c8 100644 --- a/tasks/build.yml +++ b/tasks/build.yml @@ -12,7 +12,7 @@ username: SYSTEM actions: - path: 'C:\ProgramData\scoop\apps\git\current\bin\bash.exe' - arguments: '-c "./build.sh > build.log 2>&1"' + arguments: '-c "./build.sh > logs\build.log 2>&1"' working_directory: '{{ beacon_node_service_path }}' triggers: - type: '{{ beacon_node_build_frequency }}' diff --git a/tasks/install.yml b/tasks/install.yml index 180a8ca..b5a8261 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -5,6 +5,7 @@ state: 'directory' with_items: - '{{ beacon_node_service_path }}' + - '{{ beacon_node_service_logs_path }}' - '{{ beacon_node_service_bin_path }}' - '{{ beacon_node_data_path }}'