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
2 changed files with 3 additions and 3 deletions
Showing only changes of commit fdad4ea5f4 - Show all commits

View File

@ -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

View File

@ -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"