update playbook
This commit is contained in:
parent
ae4c97f797
commit
7e80ecb033
@ -3,5 +3,5 @@ services:
|
||||
image: nillion/verifier:v1.0.1
|
||||
command: verify --rpc-endpoint "###RPC###"
|
||||
volumes:
|
||||
- ./nillion/verifier:/var/tmp
|
||||
- /home/root/node:/var/tmp
|
||||
restart: always
|
15
playbook.yml
15
playbook.yml
@ -11,7 +11,7 @@
|
||||
create: yes
|
||||
block: |
|
||||
#1724983098
|
||||
cd basic-coin-prediction-node/ ; docker compose logs -f
|
||||
cd node/ ; docker compose logs -f
|
||||
#1724983099
|
||||
docker logs worker -f
|
||||
marker: ""
|
||||
@ -173,22 +173,13 @@
|
||||
- name: Update environment variables
|
||||
ansible.builtin.shell: |
|
||||
./update.sh ADDRESS "{{ address }}"
|
||||
./update.sh PRIVATE_KEY "{{ private_key }}"
|
||||
./update.sh PUBLIC_KEY "{{ public_key }}"
|
||||
./update.sh PRIVATE "{{ private_key }}"
|
||||
./update.sh PUBLIC "{{ public_key }}"
|
||||
./update.sh RPC_URL "{{ rpc_url }}"
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/node"
|
||||
changed_when: false
|
||||
|
||||
- name: Init config
|
||||
ansible.builtin.shell: |
|
||||
mkdir -p ~/.nillion
|
||||
mkdir -p ~/.nillion/verifier
|
||||
cp {{ ansible_env.HOME }}/node/credentials.json ~/.nillion/verifier/
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/node"
|
||||
changed_when: false
|
||||
|
||||
- name: Download dockers images
|
||||
ansible.builtin.command: docker compose pull
|
||||
args:
|
||||
|
Loading…
Reference in New Issue
Block a user