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