Add README steps to run nitro nodes on remote machine

This commit is contained in:
Adw8
2024-09-09 10:16:29 +05:30
parent bffc91f578
commit 0ba32149d3
6 changed files with 59 additions and 23 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ To get started, follow the [installation](../README.md#installation) guide to se
- For remote deployment, provide an inventory and specify the `"target_host": nitro_host` in the `--extra-vars` parameter:
```bash
LANG=en_US.utf8 ansible-playbook -i ./hosts.ini run-nitro-bridge.yml --extra-vars='{ "target_host": "localhost"}' --user $USER -kK
LANG=en_US.utf8 ansible-playbook -i ./hosts.ini run-nitro-bridge.yml --extra-vars='{ "target_host": "nitro_host"}' --user $USER -kK
```
NOTE: By default, deployments are created in the `out` directory. To change this location, update the `nitro_directory` variable in the [setup-vars.yml](./setup-vars.yml) file.
@@ -68,7 +68,7 @@ To get started, follow the [installation](../README.md#installation) guide to se
- For skipping container build, run with `"skip_container_build" : true` in the `--extra-vars` parameter:
```bash
LANG=en_US.utf8 ansible-playbook -i ./hosts.ini run-nitro-bridge.yml --extra-vars='{ "target_host": "localhost", "skip_container_build": true }' --user $USER -kK
LANG=en_US.utf8 ansible-playbook -i ./hosts.ini run-nitro-bridge.yml --extra-vars='{ "target_host": "nitro_host", "skip_container_build": true }' --user $USER -kK
```
## Check Deployment Status
+1 -1
View File
@@ -1,3 +1,3 @@
target_host: "localhost"
nitro_directory: nitro-depp
nitro_directory: out
skip_container_build: false