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