From e85f0b987e6db2bdd0a397d32c5504bd37069971 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Mon, 23 Sep 2024 02:42:05 +0300 Subject: [PATCH] remove unless stopped --- playbook.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/playbook.yml b/playbook.yml index 3757089..e3dbd22 100644 --- a/playbook.yml +++ b/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