Add Ansible playbooks to setup Docker and stack orchestrator (#6)

Part of [Automate testnet nitro deployments using Ansible](https://www.notion.so/Automate-testnet-nitro-deployments-using-Ansible-0d15579430204b8daba9a8aa31e07568)

Add Ansible playbooks to:
- Setup Docker if not present
- Setup Stack Orchestrator if not present

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
Reviewed-on: #6
Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
This commit was merged in pull request #6.
This commit is contained in:
2024-09-12 04:43:53 +00:00
committed by nabarun
co-authored by Adw8 Neeraj
parent 23f3a4c8ed
commit cd314d2fdf
9 changed files with 255 additions and 5 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ To get started, follow the [installation](../README.md#installation) guide to se
The following commands have to be executed in the [`nitro-contracts-setup`](./) directory:
- Copy the `contract-vars-example.yml` vars file
- Copy the `contract-vars.example.yml` vars file
```bash
cp contract-vars-example.yml contract-vars.yml
cp contract-vars.example.yml contract-vars.yml
```
- Edit [`contract-vars.yml`](./contract-vars.yml) and fill in the following values
+1 -1
View File
@@ -61,7 +61,7 @@
- name: Wait for the contracts to be deployed
wait_for:
path: "{{ nitro_directory }}/nitro-contracts-deployment/data/nitro_deployment/nitro-addresses.json"
timeout: 60
timeout: 300
- name: Export NA_ADDRESS
shell: laconic-so deployment --dir nitro-contracts-deployment exec nitro-contracts "jq -r '.\"{{ geth_chain_id }}\"[0].contracts.NitroAdjudicator.address' /app/deployment/nitro-addresses.json"