Add ansible playbooks to setup and run nitro nodes #2

Merged
nabarun merged 10 commits from deep-stack/testnet-ops:ag-run-nitro-node into main 2024-09-05 07:27:36 +00:00
Showing only changes of commit 1f894f2527 - Show all commits

View File

@ -50,13 +50,13 @@ The following commands have to be executed in [`nitro-node-setup`](./) directory
- To run a nitro node, execute the `run-nitro-node.yml` Ansible playbook by running the following command.
NOTE: By default, deployments are created in the `nitro-node-setup/out` directory. To change this location update the `nitro_directory` variable in the [setup-vars.yml](./setup-vars.yml) file.
NOTE: By default, deployments are created in the `nitro-node-setup/out` directory. To change this location, update the `nitro_directory` variable in the [setup-vars.yml](./setup-vars.yml) file.
```bash
LANG=en_US.utf8 ansible-playbook -i localhost, --connection=local run-nitro-node.yml --extra-vars='{ "target_host": "localhost"}' --user $USER
```
- If you want to skip building the containers, set `"skip_container_build" : true` in the `--extra-vars` parameter:
- For skipping container build, run with `"skip_container_build" : true` in the `--extra-vars` parameter:
```bash
LANG=en_US.utf8 ansible-playbook -i localhost, --connection=local run-nitro-node.yml --extra-vars='{ "target_host": "localhost", "skip_container_build": true }' --user $USER