Might have posted this before but for those running lots of Verifiers, Ansible is simple and powerful for large scale linux management
Verifier update:
- hosts: nyzo-hosts
become: yes
gather_facts: no
tasks:
- name: GIT reset
command: git reset
args:
chdir: /home/ubuntu/nyzoVerifier
- name: Pull Master
command: git pull origin master
args:
chdir: /home/ubuntu/nyzoVerifier
- name: Gradlew Build
command: ./gradlew build
args:
chdir: /home/ubuntu/nyzoVerifier
- name: Reload supervisor
command: supervisorctl reload
Applies new updates to all my verifs in like a few minutes
Happy to help if people have questions