Update task to generate spec file

This commit is contained in:
Adw8 2024-09-03 15:26:41 +05:30
parent 491967ef33
commit fdad4ea5f4
2 changed files with 3 additions and 3 deletions

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"