remove unless stopped
This commit is contained in:
parent
7eab098a99
commit
e85f0b987e
22
playbook.yml
22
playbook.yml
@ -163,14 +163,12 @@
|
||||
ansible.builtin.shell: bash update.sh {{ wallet }} {{ private_key }} {{ rpc_url }}
|
||||
args:
|
||||
chdir: "{{ ansible_env.HOME }}/ritual"
|
||||
|
||||
- name: Remove old Forge and Infernet SDK
|
||||
ansible.builtin.shell: |
|
||||
rm -rf {{ ansible_env.HOME }}/ritual/projects/hello-world/contracts/lib/forge-std
|
||||
rm -rf {{ ansible_env.HOME }}/ritual/projects/hello-world/contracts/lib/infernet-sdk
|
||||
|
||||
|
||||
- name: Install Forge and Infernet SDK
|
||||
ansible.builtin.shell: |
|
||||
rm -rf {{ ansible_env.HOME }}/ritual/projects/hello-world/contracts/lib/forge-std
|
||||
rm -rf {{ ansible_env.HOME }}/ritual/projects/hello-world/contracts/lib/infernet-sdk
|
||||
cd {{ ansible_env.HOME }}/foundry && source {{ ansible_env.HOME }}/.bashrc && foundryup
|
||||
cd {{ ansible_env.HOME }}/ritual/projects/hello-world/contracts
|
||||
forge install --no-commit foundry-rs/forge-std
|
||||
@ -206,13 +204,13 @@
|
||||
delay: 60
|
||||
failed_when: '"ONCHAIN EXECUTION COMPLETE & SUCCESSFUL" not in contract_call_output.stdout'
|
||||
|
||||
- name: Set Docker containers to restart unless stopped
|
||||
ansible.builtin.shell: |
|
||||
docker update --restart unless-stopped hello-world
|
||||
docker update --restart unless-stopped infernet-node
|
||||
docker update --restart unless-stopped deploy-redis-1
|
||||
docker update --restart unless-stopped infernet-anvil
|
||||
docker update --restart unless-stopped deploy-fluentbit-1
|
||||
# - name: Set Docker containers to restart unless stopped
|
||||
# ansible.builtin.shell: |
|
||||
# docker update --restart unless-stopped hello-world
|
||||
# docker update --restart unless-stopped infernet-node
|
||||
# docker update --restart unless-stopped deploy-redis-1
|
||||
# docker update --restart unless-stopped infernet-anvil
|
||||
# docker update --restart unless-stopped deploy-fluentbit-1
|
||||
|
||||
- name: Remove docker login credentials
|
||||
ansible.builtin.shell: rm -rf /root/.docker/config.json
|
||||
|
Loading…
Reference in New Issue
Block a user