Add ansible playbooks to setup and run nitro nodes #2
@ -50,7 +50,7 @@ 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. If you need to change this location, you can 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
|
||||
|
@ -34,12 +34,12 @@
|
||||
command: laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/nitro-node build-containers --force-rebuild
|
||||
when: not skip_container_build
|
||||
|
||||
- name: Copy over spec file for L1 nitro node
|
||||
- name: Generate spec file for L1 nitro node
|
||||
template:
|
||||
src: "./templates/specs/l1-nitro-spec.yml.j2"
|
||||
dest: "{{ nitro_directory }}/l1-nitro-spec.yml"
|
||||
|
||||
- name: Copy over spec file for L2 nitro node
|
||||
- name: Generate spec file for L2 nitro node
|
||||
template:
|
||||
src: "./templates/specs/l2-nitro-spec.yml.j2"
|
||||
dest: "{{ nitro_directory }}/l2-nitro-spec.yml"
|
||||
|
Loading…
Reference in New Issue
Block a user