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.
This commit is contained in:
parent
49c13d9e42
commit
3abc4e0a81
25
playbook.yml
25
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: |
|
||||
|
Loading…
Reference in New Issue
Block a user