Add ansible playbooks to setup and run nitro nodes #2
@ -1,4 +1,4 @@
|
|||||||
# nitro-node-setup
|
# nitro-nodes-setup
|
||||||
|
|
||||||
## Setup Ansible
|
## Setup Ansible
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ To get started, follow the [installation](../../README.md#installation) guide to
|
|||||||
|
|
||||||
## Run a nitro node
|
## Run a nitro node
|
||||||
|
|
||||||
The following commands have to be executed in [`nitro-node-setup`](./) directory
|
The following commands have to be executed in [`nitro-nodes-setup`](./) directory
|
||||||
|
|
||||||
- Copy the `nitro-vars-example.yml` vars file
|
- Copy the `nitro-vars-example.yml` vars file
|
||||||
|
|
||||||
@ -44,13 +44,15 @@ The following commands have to be executed in [`nitro-node-setup`](./) directory
|
|||||||
# Multi address of the bridge node
|
# Multi address of the bridge node
|
||||||
nitro_bridge_multiaddr ""
|
nitro_bridge_multiaddr ""
|
||||||
|
|
||||||
# Multi address of your nitro node
|
# Multiaddr with publically accessible IP address / DNS for your nitro node
|
||||||
|
# Example: "/ip4/192.168.x.y/tcp/3009"
|
||||||
|
# Example: "/dns4/example.com/tcp/3009"
|
||||||
nitro_node_multiaddr: ""
|
nitro_node_multiaddr: ""
|
||||||
```
|
```
|
||||||
|
|
||||||
- To run a nitro node, execute the `run-nitro-node.yml` Ansible playbook by running the following command.
|
- 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-nodes-setup/out` directory. To change this location, update the `nitro_directory` variable in the [setup-vars.yml](./setup-vars.yml) file.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
LANG=en_US.utf8 ansible-playbook -i localhost, --connection=local run-nitro-node.yml --extra-vars='{ "target_host": "localhost"}' --user $USER
|
LANG=en_US.utf8 ansible-playbook -i localhost, --connection=local run-nitro-node.yml --extra-vars='{ "target_host": "localhost"}' --user $USER
|
Loading…
Reference in New Issue
Block a user