change log folder to be logs, move build logs there

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-10-04 20:38:38 +02:00
parent 4e0ef739b0
commit 235f5fcc1b
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 3 additions and 1 deletions

View File

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

View File

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

View File

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