From 3abc4e0a81cb76da26ba372f6b1c83e6b6df902f Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sun, 19 Jan 2025 09:26:27 +0300 Subject: [PATCH] Update playbook.yml to add journalctl command for node-checker service and comment out grpcbalancer service installation steps. This change enhances logging capabilities while simplifying the playbook by removing unnecessary service setup commands. --- playbook.yml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/playbook.yml b/playbook.yml index 1bc36ae..e4cf790 100644 --- a/playbook.yml +++ b/playbook.yml @@ -23,6 +23,7 @@ nano ~/node/projects/hello-world/container/config.json docker logs infernet-node -f docker logs --since 10m infernet-node -f + journalctl -u node-checker.service marker: "" mode: '0644' @@ -203,19 +204,19 @@ args: executable: /bin/bash - - name: Install grpcbalancer service - ansible.builtin.shell: | - cp {{ ansible_env.HOME }}/node/grpcbalancer/grpc-balancer.service /etc/systemd/system/ - chmod 644 /etc/systemd/system/grpc-balancer.service - args: - executable: /bin/bash + #- name: Install grpcbalancer service + # ansible.builtin.shell: | + # cp {{ ansible_env.HOME }}/node/grpcbalancer/grpc-balancer.service /etc/systemd/system/ + # chmod 644 /etc/systemd/system/grpc-balancer.service + # args: + # executable: /bin/bash - - name: Start and enable grpcbalancer service - ansible.builtin.systemd: - name: grpc-balancer - state: started - enabled: yes - daemon_reload: yes + #- name: Start and enable grpcbalancer service + # ansible.builtin.systemd: + # name: grpc-balancer + # state: started + # enabled: yes + # daemon_reload: yes - name: Install Forge and Infernet SDK ansible.builtin.shell: |